I run about 8 Cobalt RaQ3 and RaQ4 boxes, and this is the installation procedure that always works for me. Don't use the Cobalt RPMs. They're bad & out of date. ------------------------------------------------------------- GET THE SOURCE TARBALLS for MySQL and PHP4 from the command line: lynx http://mysql.he.net/Downloads/MySQL-3.23/mysql-3.23.32.tar.gz Then D - download, and enter to save to disk. That's the newest source tarball from a fast mirror site. To untar it, do this: tar -xvfz mysql-3.23.32.tar.gz Do the same for the newest PHP at lynx http://www.php.net/do_download.php?download_file=php-4.0.4pl1.tar.gz HOW TO SET UP A NEW RAQ SERVER: ******** TO MAKE MySQL: ## - FIRST: TO MAKE A USER NAME 'mysql' GROUP NAME 'mysql' TO SAFELY RUN MYSQL UNDER /usr/sbin/groupadd mysql /usr/sbin/useradd mysql -g mysql ./configure --prefix=/usr/local/mysql-3.23 --with-mysqld-user=mysql --with-lz make make install ## - MAKE A "SYMLINK" SO THAT NO MATTER WHAT VERSION OF MYSQL WE'RE ON, IT'LL ALWAYS BE AT /USR/LOCAL/MYSQL cd /usr/local ln -s mysql-3.23.28 mysql ## - SET THE DATA DIRECTORY TO BE /VAR/DB - MAKE A SYMLINK FOR IT HERE IN THE MYSQL FOLDER cd mysql ln -s /var/db var ## - INSTALL THE BASIC DATABASE NEEDED TO RUN bin/mysql_install_db ## - if there's a problem, do the next step then come back and do this step again. ## - GO SET PERMISSIONS FOR THE DATA DIRECTORY cd /var chown mysql:mysql -R db chmod 700 -R db ## - COPY THE STARTUP/INIT/CONFIG FILES TO THE RIGHT PLACE cd share/mysql cp mysql.server /etc/rc.d/init.d/ cp my-small.cnf /var/db/my.cnf ## - PUT STARTUP FILES IN EVERY STARTUP FOLDER - so if they reboot the server, MySQL starts! cd /etc/rc.d/init.d/ chmod 755 mysql.server cd ../rc3.d ln -s ../init.d/mysql.server S88mysql cd ../rc4.d ln -s ../init.d/mysql.server S88mysql cd ../rc6.d ln -s ../init.d/mysql.server K18mysql cd ../rc0.d ln -s ../init.d/mysql.server K18mysql ## - SYMLINK THE COMMANDS INTO THE PATH SO WE CAN JUST TYPE "mysql" FROM ANYWHERE cd /usr/bin ln -s /usr/local/mysql/bin/* ./ cd /usr/sbin ln -s /usr/local/mysql/bin/* ./ ## - START IT! safe_mysqld & mysqladmin -u root -p password 'somesecretpassword' mysql -u root -p use mysql; delete from user where user=''; exit; from now on, connect to mysql with 'mysql -u root -p' then type the magic password afterwards. ******** TO MAKE PHP4: ## - weird little bug workaround - was looking in wrong directory for Apache cd /usr/bin ln -s /usr/sbin/httpd httpd ## - GO BACK TO THE PHP4 INSTALLATION DIRECTORY (/home/sites/home/users/admin/software/php4.0.3/) ./configure --with-apxs=/usr/sbin/apxs --with-mysql=/usr/local/mysql --enable-track-vars --enable-trans-sid --enable-ftp make make install vi php.ini-dist ## - CHANGE THESE LINES: #### under [mail function] sendmail_path = /usr/sbin/sendmail -t -i ## COPY THE CONFIGURATION FILE TO WHERE PHP LOOKS FOR IT cp php.ini-dist /usr/local/lib/php.ini ## WE HAVE TO ADD MySQL TO THE LIBRARY PATH vi /etc/ld.so.conf ## - ADD THESE LINES AT THE END; /usr/local/mysql/lib/mysql /sbin/ldconfig ## MAKE APACHE PHP-READY: vi /etc/httpd/conf/srm.conf find this line: DirectoryIndex index.html index.htm etc.... and add the 2 more options: index.php index.php3 find the line talking about PHP: change it from "php3" to just: AddType application/x-httpd-php .php .php3 .htm .html ## READY TO RESTART APACHE: go into /etc/httpd/conf/httpd.conf and IF there is a line that reads this: LoadModule php4_module lib/apache/libphp4.so amend it to read this: LoadModule php4_module /usr/lib/apache/libphp4.so then restart httpd: /etc/rc.d/init.d/httpd restart -- 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]