Re: problems with includes after upgrade from 5.2.1 to5.2.11
| From: | Elizabeth M Smith | Date: | Wed, 30 Sep 2009 15:01:36 +0000 |
| Subject: | Re: problems with includes after upgrade from 5.2.1 to5.2.11 | ||
| References: | 1 2 3 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-29632@lists.php.net to get a copy of this message | ||
Paul J. Smith wrote:
It helps us a lot as we clone the site to other servers that may not have the same drive letter. Strange thing is, this is definitely a behaviour change. It also is different behaviour from the command line php in the same package, which still works just fine. Done about 4k search and replaces on my code tree so far to fix this. Replaced the first part of the path with $_SERVER['DOCUMENT_ROOT'] , if it helps anyone else.Did you make sure they're both using the same php.ini file and the include_path is set properly? Often the command line php will pick up a different ini file than the cgi - especially on windows. Thanks, Elizabeth Smith