Home  |  Linux  | Mysql  | PHP  | XML
From:onemancrew Date:Sun Jun 21 14:26:03 2009
Subject:Re: problem with PEAR , windows platform , php 5.2.9-2 , IIS Version 6
for some reason I found that the new pear packages which I have installed
have been deployed into C:\php5\pear but I have configured the include_path
in the registry file.

because I didnt find any otherway then I have configured the include_path in
the php.ini level

but still , when I install new PEAR packages , the new packages goes to
C:\php5\pear

to ansure that the new include_path configuration is being used by php.exe ,
I have execute the command:

D:\Inetpub\vhosts\domain.com\httpdocs\phppear>C:\SWSoft\Plesk\Additional\PleskPHP5\php.exe
-r phpinfo(); | find "include"
allow_url_include => Off => Off
include_path => .;D:\inetpub\vhosts\domain.com\httpdocs\phppear\pear\ =>
.;D:\inetpub\vhosts\domain.com\httpdocs\phppear\pear\
safe_mode_include_dir => no value => no value
PMTPMTPMT => @include_path@
_SERVER["PMTPMTPMT"] => @include_path@
_ENV["PMTPMTPMT"] => @include_path@
and included in the distribution in the file: LICENSE

D:\Inetpub\vhosts\domain.com\httpdocs\phppear>

What you can see ?

you can see that the include_path is set to be
D:\inetpub\vhosts\domain.com\httpdocs\phppear\pear\

this is the path where the files:

go-pear.bat
PEAR\go-pear.phar

exist

*******************************************
I dont understand from where the path C:\php5 is taken ?
I have configured the include_path to be
.;D:\inetpub\vhosts\domain.com\httpdocs\phppear\pear\
you can also see above from the phpinfo() output that this is the path which
configured as include_path
*******************************************

Please advice how to resolve the issue of C:\php5\pear

thanks in advanced.

Navigate in group php.windows at sever news.php.net
Previous Next


Your recent visits
Re: [PHP-INSTALL] Browser tries to download php file
Re: [PHP-INSTALL] Browser tries to download php file
PHP 5.3 as a module on windows
Can i run php script using command prompt in any location by typing scriptname.php
Help on compiling PHP for MIPS, Bus Error thrown



  
© No Copyright
You are free to use Anything, but please consult your advocate before doing so as this website
also list content from other sources which may be copyrighted.
Site Maintained by Zareef Ahmed
Powered By PHP Consultants