[EMAIL PROTECTED] (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
--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php