Re: Install PEAR under only specific hosting account - Plesk - windows - php is CGI/CLI

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.


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


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux