Re: [PHP] Re: HEEELP...please

2003-01-10 Thread pippo
At 03:14 AM 1/11/2003 +0900, you wrote: [EMAIL PROTECTED] wrote: [snip] > Problem is - the only php.ini file is in a work directory for mod_php4 > installation. As far as I know, this file would not be read by apache > or the php module. [/snip] Run phpinfo() and see whether there's a referen

Re: [PHP] Re: HEEELP...please

2003-01-10 Thread - Edwin
[EMAIL PROTECTED] wrote: [snip] > Problem is - the only php.ini file is in a work directory for mod_php4 > installation. As far as I know, this file would not be read by apache > or the php module. [/snip] Run phpinfo() and see whether there's a reference to where the php.ini being used res

Re: [PHP] Re: HEEELP...please

2003-01-10 Thread pippo
At 06:39 PM 1/10/2003 +0100, you wrote: Problem is - the only php.ini file is in a work directory for mod_php4 installation. As far as I know, this file would not be read by apache or the php module. I do get the feeling that the only way to turn the globals on is to reinstall the php module...

Re: [PHP] Re: HEEELP...please

2003-01-10 Thread Marek Kilimajer
only modify php.ini and restart the server (apache, not the computer), run as root: /etc/init.d/httpd restart [EMAIL PROTECTED] wrote: I want to thank all those who made suggestions. All were helpful. Question: As my server is on LAN only, I could turn on the register_globals for debugging pur

Re: [PHP] Re: HEEELP...please

2003-01-10 Thread pippo
I want to thank all those who made suggestions. All were helpful. Question: As my server is on LAN only, I could turn on the register_globals for debugging purposes etc. But, is the only way to turn register_globals on to uninstall and then reinstall mod_php4 with a modified php.ini file? Or is t

[PHP] Re: HEEELP...please

2003-01-09 Thread Philip Hallstrom
Is register_globals on or off? If it's off on the new machine that explains why $DOCUMENT_ROOT is evaluating to "" which would produce the error message you are getting... On Thu, 9 Jan 2003 [EMAIL PROTECTED] wrote: > I absolutely cannot understand the include_path directive. > Can somebody, ple

[PHP] Re: HEEELP...please

2003-01-09 Thread Greg Beaver
$DOCUMENT_ROOT is now $_SERVER['DOCUMENT_ROOT'] unless register_globals is on. You need include $_SERVER['DOCUMENT_ROOT'].'/../lib/somefile.conf'; take care, Greg -- phpDocumentor http://www.phpdoc.org <[EMAIL PROTECTED]> wrote in message [EMAIL PROTECTED]">news:[EMAIL PROTECTED]... > I absolut