PHP4.03 installation in linux ..... This document describes how to install PHP4.03 and mysql3.23.9 in apache1.3.11 of redhat6.0. All the software involved in this article can be downloaded from the software section on this site ..... The required software php4.03 source... this article mainly introduces PHP4.03 and mysql3.23.9 installation under redhat6.0 system apache1.3.11.
All the software involved in this article can be downloaded from the software section on this site.
... Required software
· Php4. 03 Source Code C language code
· Mysql3.23 alpha source program
· Apache 1.3.11 source program
· Phpmyadmin _ 2.0.5 is the best tool for managing MYSQL databases.
Step 1 download the required program and install the MYSQL3.23 program.
... Su creates a directory for root as the Directory for program installation, as shown in figure
/Server
Create the directory mysql, apache,
... Download the above three files to/usr/src.
Run the following command to unbind the package
Tar-zxvf php-4.0b3.tar.gz
Tar-zxvf mysql-3.23.9-alpha.tar.gz
Tar-zxvf apache_1.3.11.tar.gz
Download phpmyadmin to/server
Run the same
Tar-zxvf phpMyAdmin_2.0.5.tar.gz
Cd/usr/src/mysql-XXXX
Here, XXXX is the version number of the program, the same below, the system must have installed the C development Library
·./Configure-help
·./Configure-prefix =/server/mysql
· Make
· Make install
· Cd/server/mysql/bin
·./Mysql_install_db
Mysql has been installed successfully.
Can run mysql database
/Server/mysql/libexec/mysqld &
You can view the current status of the database using the database display program mysqlshow.
/Server/mysql/bin/mysqlshow
Step 2 install apache and php4.
... Disable this service if apache is already running in the system.
Killall httpd
Compile apache and php4. each line number is a line.
· Cd/usr/src/apache_1.3.x
·./Configure -- prefix =/server/apache
· Cd ../php-4.0.x
·./Configure -- with-mysql =/server/mysql -- with-apache = ../apache_1.3.x -- enable-track-vars
· Make
· Make install
· Cd ../apache_1.3.x
·./Configure -- prefix =/server/apache -- activate-module = src/modules/php4/libphp4.a
· Make
· Make install
· Cd ../php-4.0.x
· Cp php. ini-dist/usr/local/lib/php. ini
After apache and php4 are installed successfully, configure apache and php4
· Configure php4
The php4 configuration file is/usr/local/lib/php. ini.
You can use vi for editing. if you have installed MC, you can also use MC for editing.
Bytes. All the software involved in this article can be downloaded from the software section on this site. ... The required software php4.03 source...