Ok I am running CentOS, with PHP 5.2. I recently added the JSON extension. When running
php -i
.. after installing JSON, it says
json
json support => enabled
json version => 1.2.1
But when I run phpinfo it's not showing the JSON extension as being enabled. I have added the extension to the php.ini file so it loads the json.so file.
I am so confused about this. What could the possible causes of this be?
btw. I am running php as an apache module.