Jump to content

Change Configuration File (php.ini) Path


smurfggm

Recommended Posts

Hi there

 

I am failry new to PHP so please be gentle :)

 

I have installed PHP using RPM packages and PHP is not picking up the php.ini file.

 

php -i

Configuration File (php.ini) Path => /usr/local/lib

Loaded Configuration File => (none)

 

My php file is here > /etc/php5/cli/php.ini

How do I change this setting to pick up this php.ini file ?

 

Is there something I can change in http.conf ?

 

Many thanks

Link to comment
https://forums.phpfreaks.com/topic/224081-change-configuration-file-phpini-path/
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.