How can I install PHP on my RaQ3 server?
Telnet/SSH to your server and type \"su -\" to login as root. Then run the follow commands:
cd /usr/local
wget http://at.php.net/distributions/php-4.2.3.tar.gz
tar xzvf php-4.2.3.tar.gz
cd php-4.2.3
./configure --with-zlib --with-mysql --with-apxs --with-xml
make
make install
cp php.ini-dist /usr/local/lib/php.ini
cd /etc/httpd/conf
pico srm.conf
Find #AddType application/x-httpd-php .phtml and add after that the follow line: AddType application/x-httpd-php .php .php3 .php4 .phtml
Find the DirectoryIndex line and add index.php
Save the file and open httpd.conf (pico http.conf)
Find the LoadModule php4_module line and change the path to /usr/lib/apache/libphp4.so
Save the file and restart apache with: /etc/rc.d/init.d/httpd restart