This is what I did when I installed PHP and I already had mySQL on my RAQ3i and it worked like a charm, I hope this helps you, -- you can skip by the mySQL install and move on the PHP install below.
Since mySQL for the RAQ3i (especially if you used the BIN from Cobalt) doesn't have a directory complete with the source so I just used --with-mysql (without a path) been working awesome. E-mail if you need anything ICQ# 16976549 ******************************* ** INSTALLING MySQL on RAQ3i ** ******************************* [1] login as root [2] mkdir usr/local/download [3] cd /usr/local/downoad [4] wget http://www.mysql.com/Downloads/MySQL-3.23/mysql-3.23.32.tar.gz [5] echo "mysql:x:101:103:MySql User:/usr/local/mysql:">>/etc/passwd [6] echo "mysql:x:103:">>/etc/group [7] tar zxvf mysql-3.23.32.tar.gz [8] cd mysql-3.23.32 [9] ./configure --prefix=/usr/local/mysql --with-unix-socket-path=/tmp/mysql.soc k --with-mysqld-user=mysql [10] make [11] make install [12] chown mysql.mysql /usr/local/mysql [13] scripts/mysql_install_db [14] chown -R mysql.mysql /usr/local/mysql/var [15] mkdir /var/lib/mysql [16] ln -s /tmp/mysql.sock /var/lib/mysql/mysql.sock [17] rm -f /usr/bin/mysql [18] ln -s /usr/local/mysql/bin/mysql /usr/bin/mysql [19] chmod 755 /usr/local/mysql/var [20] /usr/local/mysql/bin/safe_mysqld & [21] /usr/local/mysql/bin/mysqladmin -u root password 'YOURPASSWORDHERE' [22] cp support-files/mysql.server /etc/rc.d/init.d/mysql [23] chmod 755 /etc/rc.d/init.d/mysql [24] echo "/etc/rc.d/init.d/mysql start">>/etc/rc.d/rc.sysinit ******************************* ** INSTALLING PHP4 on RAQ3i ** ******************************* [1] login as Root [2] cd /usr/local/download [3] wget http://php.net/distributions/php-4.0.6.tar.gz [4] tar -xvzf php-4.0.4pl1.tar.gz [5] cd php-4.0.4pl1 [6] mkdir /usr/local/php [7] mv * /usr/local/php [8] cd /usr/local/php [9] rmdir /usr/local/download/php-4.0.4pl1 [10] ./configure --with-mysql --with-apxs --enable-track-vars [11] make [12] make install [13] cp php.ini-dist /usr/local/lib/php.ini [14] pico -w /etc/httpd/conf/httpd.conf (Change the line:) LoadModule php4_module lib/apache/libphp4.so to LoadModule php4_module /usr/lib/apache/libphp4.so) [15] pico -w /etc/httpd/conf/srm.conf Find the following line in srm.conf #AddType application/x-httpd-php .phtml After this line, add the line AddType application/x-httpd-php .php .php4 .phtml This associates the .php file extension with PHP4 (If you want index.php to be served by default you need also to add this as well in the section UserDir web of the same file) # DirectoryIndex: Name of the file or files to use as a pre-written HTML # directory index. Separate multiple entries with spaces. DirectoryIndex index.html index.htm index.shtml home.html home.htm index.php index.php4 index.p$ ******************************* ** FINISHING NOTES ** ******************************* Still logged in as 'root' perform the following commands to stop and restart the HTTP server /etc/rc.d/init.d/httpd stop /etc/rc.d/init.d/httpd start -- PHP General Mailing List (http://www.php.net/) To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]