Re: How to force mod_php to load php.ini ?
| From: | Marek Kilimajer | Date: | Fri, 25 Jun 2004 15:16:54 +0000 |
| Subject: | Re: How to force mod_php to load php.ini ? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-189060@lists.php.net to get a copy of this message | ||
Nico Sabbi wrote --- napísal::
Hi, is there a way configure mod_php4 (for apache) so as to be *absolutely* sure that it will always load all definitions in php.ini when apache starts up? Maybe with some directive in http.conf ? Almost every time I reboot my pc apache and php start, but php is not running with /etc/php.ini, so I have to execute /etc/init.d/httpd restart Thanks, Nico Sabbi - Officine Digitali - Bologna Tel. 051 - 4187565This is most likely a configuration issue. Next time you restart, run phpinfo() script and find out what php.ini is used, or where is it being looked for. It's mentioned right in the top box.