#!/bin/bash cd /usr/src wget http://dev.mysql.com/get/Downloads/MySQL-5.0/mysql-5.0.51a.tar.gz/from/http://mysql.mirror.rafal.ca/ tar xzvf mysql-5.0.51a.tar.gz cd mysql-5.0.51a groupadd mysql useradd -g mysql mysql ./configure make make install cp support-files/my-small.cnf /etc/my.cnf cd /usr/local/mysql chown -R mysql . chgrp -R mysql . bin/mysql_install_db --user=mysql chown -R root . chown -R mysql var bin/mysqld_safe --user=mysql & wget http://ca3.php.net/get/php-4.4.8.tar.gz/from/ca.php.net/mirror tar zxvf php-4.4.8.tar.gz cd php-4.4.8 #assumes apache was configure as DSO ./configure --with-apxs=/usr/local/apache/bin/apxs make make installReview /usr/local/apache/conf/httpd.conf LoadModule php4_module libexec/libphp4.so should already be in the config file Add or verify Addtype application/x-httpd-php .php Addtype application/x-httpd-php-source .phps
Rambling about Django, Python, Ansible and sometimes PHP and Wordpress. I enjoy talking about all technologies, and offer help when I can.
Tuesday, March 11, 2008
Installing MySQL and PHP4 with apache1.3
Continued from previous post
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment