### Configuring APACHE web server with PHP support

If you are using the SAMS, you must install the Apache http server with php support. In the php module your must switch on MySQL support.
For the red-hat like linux your must install::
apache-***.rpm,
mod_php***.rpm
php***.rpm
php-common***.rpm
php-mysql***.rpm

Configuring PHP support.
Uncomment or insert next string into the httpd.conf:
LoadModule php4_module libexec/libphp4.so
AddModule mod_php4.c
AddType application/x-httpd-php .php .phtml

Switch on upload files on web server:

<Directory "/var/www/htdocs">
?
Options ? ExecCGI
?
</Directory>

### Configuring PHP

Uncomment or insert net string into the php.ini:
extensions=mysql.so
register_globals = On