Re: include_path ???

From: Date: Sun, 25 Jul 2004 05:20:49 +0000
Subject: Re: include_path ???
References: 1 2  Groups: php.general 
Request: Send a blank email to php-general+get-191804@lists.php.net to get a copy of this message
This is taken right out of the download of PHP 5 zip file "php-5.0.0-Win32.zip". Opening the "php.ini-recommended" it states the following configuration ;;;;;;;;;;;;;;;;;;;;;;;;; ; Paths and Directories ; ;;;;;;;;;;;;;;;;;;;;;;;;; ; Windows: "\path1;\path2" ;include_path = ".;c:\php\includes" But phpinfo() shows this include_path = .;C:\php5\pear the correct windows path is c:\inetpub\php5\pear Do I change the path include_path to "c:\inetpub\php5\pear" ? Why is it writen as ".;c:\php\includes" in recommended php.ini ? Wy not call it pear_path = ".;C:\php5\pear" instead? "Jason Barnett" <jasbarne@indiana.edu> wrote in message news:20040725044302.30654.qmail@pb1.pair.com... > > When I run "phpinfo()" the include_path points to ".;c:\php\PEAR" but that > > is incorrect the correct path is "c:\inetpub\php5\PEAR". Sorry it was ment to be ".;c:\php5\PEAR" :p > > Are you *certain* you're looking at the correct ini file? phpinfo() should show > the settings currently in use for your server (assuming you're calling the > phpinfo in a page served by IIS instead of for example the CLI version of PHP). > Magic 8-ball says: you have an old php.ini from PHP4 and it is in your > system32 folder. > > > > > My question is, is it correct to set the include_path to > > "c:\inetpub\php5\PEAR" or just leave it as is??? > > If this is the path to your PEAR files then you'll need to change your include_path.

« previous php.general (#191804) next »