RE: [PHP-WIN] Instilation problem

From: Date: Mon, 09 Jul 2001 14:10:45 +0000
Subject: RE: [PHP-WIN] Instilation problem
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-8200@lists.php.net to get a copy of this message
Justin: Are you including the myfile.php into another php file, if so, it seems you left the include_dir variable blank in your php.ini, so what you have to do is put a path to a directory where you want to always find your includes, or you can type in the relative path to your included file from the path where you have the file you are including it to. Say for example that the myfile.php is in a dir called "bin" and the file in which you are including it is in a dir called "help" both on your webroot dir, what you would do is call it this way: include ('../bin/myfile.php'), this will help you get around the fact that no include_dir value is available. Later. Iván -----Original Message----- From: Justin Blake [mailto:jblaix@hotmail.com] Sent: Sábado, 07 de Julio de 2001 08:00 p.m. To: php-windows@lists.php.net Subject: [PHP-WIN] Instilation problem I am running Sambar Server Pro v5.0 on Win ME. It requires php4 to run as isapi. I know my sambar config files are correct but I'm not sure about php. When I try to run any php file I get: Warning: Failed opening 'D://docs/bin/myfile.php' for inclusion (include_path='') in Unknown on line 0 php.ini is in c:\windows and msvcrt.dll and php4ts.dll are in c:\windows\system Thanks for any help, Justin

« previous php.windows (#8200) next »