PDA

View Full Version : PHPRC instead of propogating php.ini



markav
11-08-2006, 11:01 AM
Can I use PHPRC to define a master php.ini rather than having to copy php.ini to each directory? I am running a PHP shopping cart that has so many PHP containing folders that copying will be a nightmare to maintain.

Thanks
Mark

markav
11-08-2006, 03:28 PM
OK. Thought I'd just verify this myself. I set PHPRC in .bashrc but php is not getting the environment change (running phpinfo()). I'm assuming I need to restart php. Can I do this without bringing Apache down?

Thanks
Mark