Re: Re: HEEELP...please
| From: | Marek Kilimajer | Date: | Fri, 10 Jan 2003 17:39:39 +0000 |
| Subject: | Re: Re: HEEELP...please | ||
| References: | 1 2 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-131154@lists.php.net to get a copy of this message | ||
only modify php.ini and restart the server (apache, not the computer), run as root:
/etc/init.d/httpd restart
pippo@bellnet.ca 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 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 there another temporary solution until I can modify all my php files? PJ At 08:39 PM 1/9/2003 -0500, you wrote:$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 <pippo@bellnet.ca> wrote in message news:5.1.0.14.2.20030109194115.00b32880@mail.host45.com...I absolutely cannot understand the include_path directive. Can somebody, please, explain this? I have a situation that I find absolutely incomprehensible: I moved my experimental web-site from FreeBSD 4.5 running php4 v. 4.0 (orsomething),apache 1.13 where thesite worked just fine to another box withFreeBSD 4.7running php4 v. 4.2.3, apache 1.13.27_1. All of a sudden, I get the message: Warning: Failed opening '/../lib/somefile.conf' for inclusion (include_path='.:/usr/local/lib/php') in/usr/local/www/html/index.php online 6 I can find nothing in the httpd.conf files that could account forthis;there is no configuration in them for include_path. Obviously, the php file is being parsed correctly, but there is aproblemwith the line : include "$DOCUMENT_ROOT/../lib/somefile.conf". It works on one machine, but not on the latest version of php4 anapache.I see there are others on the net who have had this problem, but Ihave notyet found an explanation or a cure. HEEEEELP.... please, PJ-- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php