Configuring the Servers for Linux

DMO is currently based on PHP4, and will not function with PHP5. Therefore, it is necessary to enable use of PHP4, which can be done for XAMPP using the following command:

# /opt/lampp/lampp php4

Next, we recommend that the memory available for PHP processes be increased. Edit the file: /opt/lampp/etc/php.ini, changing the resource limit for memory from 8 Mb to 32 Mb as follows:

memory_limit = 32M    ; Maximum amount of memory a script may consume (8MB)

The next change is within the Apache configuration, and is used to configure Apache to ignore the ".php" ending for PHP scripts. This change is made in the file /opt/lampp/etc/httpd.conf, and consists of adding the option MultiViews in the Directory section for /opt/lampp/htdocs:

    Options Indexes FollowSymLinks MultiViews

After these changes, it is necessary to restart XAMPP with the following command:

# /opt/lampp/lampp restart