Re: Install PEAR under only specific hosting account - Plesk - windows - php is CGI/CLI
| From: | onemancrew | Date: | Fri, 05 Jun 2009 18:29:54 +0000 |
| Subject: | Re: Install PEAR under only specific hosting account - Plesk - windows - php is CGI/CLI | ||
| References: | 1 | Groups: | php.windows |
| Request: | Send a blank email to php-windows+get-29382@lists.php.net to get a copy of this message | ||
I think I have a clue.
first we are talking about batch file.
pear.bat is a batch file.
because the ECHO is OFF then I dont see debug info.
I have enabled the ECHO.
Means:
@ECHO ON
now I see what the batch file is trying to do.
"C:\Program Files\SWsoft\Plesk\Additional\Php" -C -d output_buffering=1 -d safe_mode=0 -d open_basedir="" -d auto_prepend_file="" -d auto_append_file="" -d variables_order=EGPCS -d register_argc_argv="On" -d include_path="D:\inetpub\vhosts\domain.com\httpdocs\phppear/PEAR" -f "D:\inetpub\vhosts\domain.com\httpdocs\phppear/PEAR\pearcmd.php" --
'"C:\Program Files\SWsoft\Plesk\Additional\Php"' is not recognized as an internal or external command,
operable program or batch file.
of course that this will encounter an issue.
see the row:
C:\Program Files\SWsoft\Plesk\Additional\Php
you dont see any php.exe in the command line which is tried to be execute.
so now we have a direction.
I have opened the file pear.bat and I have found the following:
%PHP_PEAR_PHP_BIN%
in the line which is tried to be execute.
The question is:
Where %PHP_PEAR_PHP_BIN% is configured ?
also I have found inside pear.bat the following note:
REM Check PEAR global ENV, set them if they do not exist
the question is: where PEAR global ENV are set ?
thanks in advanced.