Re: problems with includes after upgrade from 5.2.1 to5.2.11

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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

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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux