Xerver Setup [ 5 / 9 ]

The list below shows file extensions that should be run and not be downloaded when a visitor visits the file.
The format of the list is:
fileExtension=commandToRunThisFile

Example:
pl=perl
php4=php



Important message to Windows users that will run PHP scripts:
PHP 5 uses "php-cgi" to run php-scripts while older PHP versions (PHP 4 or older) are all using "php" 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 have "php=php-cgi" in the scroll list above.

What is this?
If you want to run CGI-scripts with Xerver, you have to tell Xerver which file extensions should be considered CGI-files.
When someone visits a CGI-file (for example "guestbook.php") Xerver won't show the content of the file, but will execute the script. However, different script types are run with different commands on your computer. Sounds difficult? It's not!

The command for Perl-script is "perl".
The command for PHP-script is "php" (or "php-cgi").
However, some files are runnable without a command, such as "exe" files on windows. The command for exe-files is "" (nothing).