php.ini -- how to reload with my own PHP5?
Posted by: sleepyrobot
Posted on: 2004-12-30 17:55:00
Hi. I successfully compiled PHP5 on my shared DH account a few weeks ago, and it's working great, but the changes I've made to my php.ini file aren't showing up.
My phpinfo() says my ini file is at: /home/myusername/php/php.ini, which is where I told php to put it when I compiled. My php.ini file is there, and I've edited it, but the changes -- most notably, activating the openbasedir restriction, do not show up in phpinfo()!
It seems like I need to get my PHP to reload the ini file. According to php.net, since I am running PHP as CGI, this happens at "every invocation." [http://us2.php.net/manual/en/configuration.php] Does that mean every time PHP runs a script, it loads PHP.ini? Well, if so, it's not happening for me. If that's not what it means, how else do I "invoke" PHP so it will load these options?
Does anyone have ideas about this? I've spent quite a while RTFM'ing, and I'm not really getting anywhere. Thanks in advance.