Php version


Hosted on dalitz.

#1 Changed domain settings to php5 but phpinfo() is still showing 4.4.7. Running php -i in SSH shows version 4.4.8

#2 Is there a way to add some extensions to php, like “bcmath, json”


Check to see if you have a .htaccess file that’s added a PHP handler that points to PHP4. In the Shell, php4 is the default; php5 is also available in /usr/local. Don’t worry about what shell shows.

For other extensions, you’ll have to add something like this to .htaccess:
AddHandler php5 .bcmath .json

I’m not sure that’s correct, but hopefully someone will correct me.