Wwserver Command Line Version

Post Reply
dovidg
Posts: 1
Joined: Thu Nov 02, 2017 8:55 pm

Wwserver Command Line Version

Post by dovidg » Thu Nov 02, 2017 9:00 pm

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

User avatar
mwiede
Site Admin
Posts: 34
Joined: Fri Oct 27, 2017 12:56 pm
Location: Germany
Contact:

Re: Wwserver Command Line Version

Post by mwiede » Fri Nov 03, 2017 2:47 pm

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"

Post Reply