Re: Using "./" in paths in Windows/IIS

From: Date: Wed, 15 Jan 2003 20:17:17 +0000
Subject: Re: Using "./" in paths in Windows/IIS
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-17892@lists.php.net to get a copy of this message
dmullen@baryllblue.com (Dan Mullen) wrote: >I have a problem getting a server set up correctly. I'm using PHP 4.3.0 >(CGI) and IIS 4. After initial set up and configuration of php.ini, the >server is running OK. I put phpMyAdmin on there and got loads of errors, >basically along the lines of "file not found" on include statements. >Looking at the code, all the lines failing have links to files that begin >with "./". Taking this off the path fixes the error. > >The include path in the php.ini file is set to ".;c:\php\includes". I have >tried adding the root of the web server to the include path but this made no >difference. ./ is the working directory in Unix. Try to add ./ to your include_path in php.ini, maybe it works. There are some (minor) changes in file handling on windows with the introduction of the new streams code in 4.3.0. While with 4.2.3 $path = "c:/somedirectory/"; include ($path."/include.php"); worked, it stopped to do so with 4.3.0. Christoph

« previous php.windows (#17892) next »