Welcome to Xerver Help Online!
I'm using PHP 5 and I can't run my scripts.
PHP 5 uses "php-cgi" (php-cgi.exe) to run php-scripts
while older PHP versions (PHP 4 or older)
are all using "php" (php.exe) to run php-scripts.
Xerver is by default configured for PHP 4 which uses "php".
If you have PHP 5 or plan to install PHP 5, make sure that
you in the fifth step in Xerver Setup have "php=php-cgi"
in the scroll list (default is "php=php").
In other words:
- Start Xerver Setup.
- Visit http://localhost:32123/.
- Go to step 5.
- Select "php=php".
- Press "Remove script extension" (and confirm).
- Press "Add script extension".
- Fill in "php" for "file extension".
- Fill in "php-cgi" for "Command to run script with".
- Press "Add to list".
- Press "Save and Next Step".
- You are done.
Xerver Homepage
|