Re: [PHP] How to force mod_php to load php.ini ?

2004-06-25 Thread Curt Zirzow
* Thus wrote Nico Sabbi:
> 
> 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 ?

As far as I know, there isn't a php directive in apache to tell it
which ini to load.

> 
> 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

The php loading goes as follows:
  apache starts
  apche request from php to load
  php gets loaded using its compile path to locate php.ini (see
  output from phpinfo())

> 
> /etc/init.d/httpd restart

You might want to evaluate your startup procedures to make sure it
starting apache correctly.


Curt
-- 
First, let me assure you that this is not one of those shady pyramid schemes
you've been hearing about.  No, sir.  Our model is the trapezoid!

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] How to force mod_php to load php.ini ?

2004-06-25 Thread Marek Kilimajer
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 - 4187565
This 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.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[PHP] How to force mod_php to load php.ini ?

2004-06-25 Thread Nico Sabbi

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 - 4187565

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php