include_path    = ".;e:\apache\lib\php\;"

use a semi-colon to separate paths

DB

| -----Original Message-----
| From: PHPBeginner.com [mailto:[EMAIL PROTECTED]]
| Sent: Thursday, February 01, 2001 2:54 AM
| To: PHPLIB; [EMAIL PROTECTED]; PHP
| Subject: [PHP-WIN] Win2K/PHP4.0.4pl1 - include_path mess 
| (won't include
| from the current directory)
| 
| 
| Hello guys,
| 
| I have the following problem:
| 
| in my PHP.ini (which stays under c:\WINNT) I have
| 
| include_path  = "P:\includes; "                  ; UNIX: 
| "/path1:/path2"
| Windows: "\path1;\path2"
| doc_root              =                                       
| ; the root of the php pages, used only if nonempty
| 
| under "P:\includes" are PHPLIB and some few scripts that I need to
| auto_prepend under all the roots on my local server.
| 
| 
| 
| PHPLIB is being included properly, but, if I try to include 
| a file within a
| current directory like:
| 
| include ("header.inc");
| 
| I get the following error:
| 
| Warning: Failed opening 'header.inc' for inclusion
| (include_path='P:\includes; ') in p:\phpbeginner\index.html 
| on line 17
| 
| (NOTE: include ("$DOCUMENT_ROOT/header.inc"); will work perfectly )
| 
| I know that on Linux to fix the problem would be enough to 
| add something
| like this into PHP.INI
| 
| include_path  = ".: /full/path/to/includes: "               
|    ; UNIX:
| "/path1:/path2"  Windows: "\path1;\path2"
| 
| How do I do this under Win2K ?
| 
| Anyone had this problem before?
| 
| Cheers,
| 
|  Maxim Maletsky
|  Founder, Chief Developer
| 
|  PHPBeginner.com (Where PHP Begins)
|  [EMAIL PROTECTED]
|  www.phpbeginner.com
| 
| 
| 
| -- 
| PHP Windows Mailing List (http://www.php.net/)
| To unsubscribe, e-mail: [EMAIL PROTECTED]
| For additional commands, e-mail: [EMAIL PROTECTED]
| To contact the list administrators, e-mail: 
| [EMAIL PROTECTED]
| 

-- 
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to