Re: PHP include_path
by "Bryan Bateman" <batemanb(at)home.com>
|
Date: |
Sun, 19 Nov 2000 06:12:17 -0000 |
To: |
<Reywob(at)aol.com>, <hwg-servers(at)hwg.org> |
References: |
aol |
|
todo: View
Thread,
Original
|
|
include_path string
Specifies a list of directories where the require(), include() and
fopen_with_path() functions look for files. The format is like the system's
PATH environment variable: a list of directories separated with a colon in
UNIX or semicolon in Windows. Example 3-1. UNIX include_path
include_path=.:/home/httpd/php-lib
Example 3-2. Windows include_path
include_path=".;c:\www\phplib"
The default value for this directive is . (only the current directory).
one fact they did not mention was the quotes around the string.
Also when you state a path in yur document it has to be done with double
backslashes, i.e. c:\\some\\path\\to\\a\\file
----- Original Message -----
From: <Reywob(at)aol.com>
To: <hwg-servers(at)hwg.org>
Sent: Friday, November 17, 2000 6:02 PM
Subject: PHP include_path
> Hi,
>
> I have set up PHP4.03pl1 as an apache module under Windows 98SE to allow
me
> to develop off-line. Everything seems to be working fine, except that the
> include_path directive in php.ini won't work properly, no matter what I
try.
>
> Apache is installed in C:\Program Files\Apache Group\Apache and PHP in
> C:\php. The root of the server (?) is in C:\Program Files\Apache
> Group\Apache\htdocs
>
> What should my include_path directive look like?
>
> TIA,
> Peter.
HWG: hwg-servers mailing list archives,
maintained by Webmasters @ IWA