Page 1 of 1

Wwserver Command Line Version

Posted: Thu Nov 02, 2017 9:00 pm
by dovidg
Hi, I am trying to setup the Wwserver command line version with PHP cgi.
In the cgi/cgi.txt I succesfully got it working when entering the full path to the php-cgi.exe file.
But when I try to use relative paths I get the following error: Cannot create process: \php\php-cgi.exe -c \php\php.ini -b \\.\pipe\WWebserverPipe_4448_0

I need to be able to set the php-cgi using relative path so that I can create a portable web application without knowing
which path the user is running the program from.

thanks

Re: Wwserver Command Line Version

Posted: Fri Nov 03, 2017 2:47 pm
by mwiede
dovidg wrote:
Thu Nov 02, 2017 9:00 pm
...
I need to be able to set the php-cgi using relative path so that I can create a portable web application without knowing
which path the user is running the program from.

thanks
Please try .\php\php-cgi.exe with dot for relative paths!

Code: Select all

.php;PHPFCGI .\php\php-cgi.exe -c ".\php\php.ini"