My phpinfo() Loaded Configuration File still pointing to my other php. I have 3 different servers in my machine. WAMP Apache, IIS and hardened Apache.
Solution? :D
Just add this at Apache configuration : httpd. conf, and walla! Happy happy.. :D . Or you can read more here
AddType application/x-httpd-php .php PHPIniDir "C:/Program Files/PHP5"
3 comments:
Hi Jane, looks rather confusing to me. Why have so many? Just curious.
Anyway, have a nice day, and keep a song in your heart.
Lee.
hey, what kinda app server r u using for ur php?
zend, xampp etc?
I have a dedicated server and I'm facing a strange issue. I found there 2 php installations and only one must be used and is correct, which is version 5.2.6, but currently, I see on phpinfo that the php.ini is being loaded isn't the right configuration. The php.ini which I need the server use is located in /opt/php-5.2.6/config/php.ini and the current in use is located in /etc/php.ini. How to turn on the php located in /opt/php-5.2.6/ ? I don't know what happened, maybe after I tried to install the xCache extension, but didn't work and in some way that installation of xCache changed where the php is loaded from.
How to make loading the php which I have in directory /opt/php-5.2.6/ ?
thanks.
Post a Comment