[PHP] include_path ???

2004-07-24 Thread D_Angle
Hi.

I am a bit confused about the  include_path  in php.ini, I am using PHP
5.0.0 on IIS

;
; Paths and Directories ;
;

; UNIX: "/path1:/path2"
;include_path = ".:/php/includes"
;
; Windows: "\path1;\path2"
include_path = ".;/php/includes"

When I run "phpinfo()" the include_path points to ".;c:\php\PEAR" but that
is incorrect the correct path is "c:\inetpub\php5\PEAR".

My question is, is it correct to set the include_path to
"c:\inetpub\php5\PEAR" or just leave it as is???

Thanks in advanced :)

D_Angle

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: include_path ???

2004-07-24 Thread D_Angle
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" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
> > 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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php