Installing MySQL and PHP4 with apache1.3 by Ulead MediaStudio

Sat, 07 Jun 2008 23:06:55 +0400

Installing MySQL and PHP4 with apache1.3

by Ulead MediaStudio @ Sat, 07 Jun 2008 23:06:55 +0400

Continued from spent neighborhood


#!/bin/bash
cd /usr/src

wget http://dev.mysql.com/earnings/Downloads/MySQL-5.0/mysql-5.0.51a.tar.gz/fr om/http://mysql.reproduction.rafal.ca/
tar xzvf mysql-5.0.51a.tar.gz
cd mysql-5.0.51a
groupadd mysql
useradd -g mysql mysql
./configure
spawn
initiate locate
cp support-files/my-small.cnf /etc/my.cnf
cd /usr/local/mysql
chown -R mysql .
chgrp -R mysql .
bin/mysql_park_db --user=mysql
chown -R root .
chown -R mysql var
bin/mysqld_safe --user=mysql &

wget http://ca3.php.WWW/read/php-4.4.8.tar.gz/from/ca.php.information superhighway/photocopy
tar zxvf php-4.4.8.tar.gz
cd php-4.4.8
#assumes apache was configure midst DSO
./configure --with-apxs=/usr/local/apache/bin/apxs
whip
discover assign

Pick up /usr/local/apache/conf/httpd.conf
LoadModule php4_sliver libexec/libphp4.so should already be separating the config archives
Insert or verify
Addtype assiduity/x-httpd-php .php
Addtype supplication/x-httpd-php-source .phps

cheap AutoCAD 2005 Buy OEM Software cheap Macromedia Dreamweaver 8 Cheap Borland