errors while installing pear for php on windows
| From: | Bhavin Patel | Date: | Sat, 01 May 2010 19:20:19 +0000 |
| Subject: | errors while installing pear for php on windows | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-30478@lists.php.net to get a copy of this message | ||
Hello,
I am trying to manually install pear for php on windows 2008 server.
IIS 7 is web server.
Most of the basic things are working fine using PHP.
But when i try to run, go-pear.php file downloaded from pear.php.net.
I get following errrors.
I did add following paths to two varibale in php.ini. (open_base_dir and
include_path).
c:\inetpub\wwwroot
c:\php
c:\php\pear.
Any ideas on why this errors are coming.
Warning: realpath() [function.realpath]: open_basedir restriction in
effect. File(C:\Windows\System32) is not within the allowed path(s):
(C:\inetpub\wwwroot) in C:\inetpub\wwwroot\go-pear.php on line 1121
Warning: realpath() [function.realpath]: open_basedir restriction in
effect. File(C:\Windows) is not within the allowed path(s):
(C:\inetpub\wwwroot) in C:\inetpub\wwwroot\go-pear.php on line 1121
Warning: realpath() [function.realpath]: open_basedir restriction in
effect. File(C:\Windows\System32\wbem) is not within the allowed
path(s): (C:\inetpub\wwwroot) in C:\inetpub\wwwroot\go-pear.php on line 1121
Warning: realpath() [function.realpath]: open_basedir restriction
in effect. File(C:\PHP) is not within the allowed path(s):
(C:\inetpub\wwwroot) in C:\inetpub\wwwroot\go-pear.php on line 1121
Warning: is_file() [function.is-file]: open_basedir restriction in
effect. File(c:/php/cli/php.exe) is not within the allowed path(s):
(C:\inetpub\wwwroot) in C:\inetpub\wwwroot\go-pear.php on line 1411
Warning: is_file() [function.is-file]: open_basedir restriction in
effect. File(c:/php5/php.exe) is not within the allowed path(s):
(C:\inetpub\wwwroot) in C:\inetpub\wwwroot\go-pear.php on line 1413
Warning: is_file() [function.is-file]: open_basedir restriction in
effect. File(c:/php4/cli/php.exe) is not within the allowed path(s):
(C:\inetpub\wwwroot) in C:\inetpub\wwwroot\go-pear.php on line 1415
Go-PEAR Installer
Below above mentioned error.
Following is the list of questions being asked:
1. Installation prefix ($prefix)
2. Temporary files directory
3. Binaries directory
4. PHP code directory ($php_dir)
5. Documentation base directory
6. Data base directory
7. Tests base directory
8. PEAR Installer cache directory
9. Cache TimeToLive
10. Filename of WebFrontend
11. php.exe path, optional (CLI command tools)
What directory should i give for $prefix? I tried giving c:/inetpub/wwwroot
as well as c:\php\pear. None of it works and i get error saying
FATAL ERROR! This directory does not exist and we can not create it.
Create the directory manually or make sure we have full permission
in its parent directory.
Thanks,
Bhavin Patel
HSPIS Specialist
Office of the Vice Chancellor for Research
1737 W. Polk Street
B9 Administrative Office Building
Chicago,IL 60612
Phone:(312)413-8472