JazZ, this is extremely confusing.
Can you install php5-cli and run 'php -i | grep extension_dir' ?
On my 12.04 system, it shows:
extension_dir => /usr/lib/php5/20090626 => /usr/lib/php5/20090626
If that shows the same, can you place a file in your webroot with the content '<?php phpinfo();'
And look at what it says extension_dir is set to? Mine is also set to the same dir.
Also, perhaps you have modified config files in /etc/php5. You can check that with the 'debsums' package. Install it, and then run
debsums -e php5-common debsums -e libapache2-mod-php5 debsums -e php5-pgsql
JazZ, this is extremely confusing.
Can you install php5-cli and run 'php -i | grep extension_dir' ?
On my 12.04 system, it shows:
extension_dir => /usr/lib/ php5/20090626 => /usr/lib/ php5/20090626
If that shows the same, can you place a file in your webroot with the content '<?php phpinfo();'
And look at what it says extension_dir is set to? Mine is also set to the same dir.
Also, perhaps you have modified config files in /etc/php5. You can check that with the 'debsums' package. Install it, and then run
debsums -e php5-common
debsums -e libapache2-mod-php5
debsums -e php5-pgsql