Home > Backend Development > PHP Tutorial > This is my installation script for APACHE+PHP4+MYSQL under Linux 6.2. Let's take a look! The writing is very simple, no_PHP tutorial

This is my installation script for APACHE+PHP4+MYSQL under Linux 6.2. Let's take a look! The writing is very simple, no_PHP tutorial

WBOY
Release: 2016-07-13 16:58:06
Original
766 people have browsed it

#You need to modify some directories according to your needs, or add or delete some options.
# By SonyMusic(sonymusic@163.net)
# Mysql 3.22.32 installation script
mysql_ver=mysql-3.22.32
prefix=/ugsc/mysql
cd $mysql_ver
./configure --prefix=$prefix
make
make install
cd ..
echo $mysql_ver install ok...
#apache’s preconfiguration script
apache_ver =apache_1.3.12
prefix=/ugsc/apache
cd $apache_ver
./configure --prefix=$prefix
#only prefix ,not make and install
cd ..
echo $apache_ver prefix ok...
#apache installation script (install_apache.bat)
apache_ver=apache_1.3.12
prefix=/ugsc/apache
cd $apache_ver
./ configure --prefix=$prefix --activate-module=src/modules/php4/libphp4.a --activate-module=src/modules/jserv/libjserv.a
#make and install
make clean
make
make install
cd ..
echo $apache_ver install ok...
#php4 installation script.
#
php4_ver=php-4.0.1pl2
apache_dir=apache_1.3.12
mysql_dir=/ugsc/mysql
imap_client=/usr/local/imap/c_client
sybase_dir=/ opt/sybase
prefix=/ugsc/php4
ini_prefix=/ugsc/php4/ini
jdk_dir=/ugsc/jdk118_v1
jsdk_dir=/ugsc/JSDK2.0
cd $php4_ver
./configure --prefix=$prefix --with-config-file-path=$ini_prefix --with-java=$jdk_dir --with-apache=../$apache_dir --with-mysql=$mys
ql_dir --enable-ftp --enable-sysvshm --enable-sysvsem --with-ttf --with-imap=$imap_client --with-sybase=$sybase_dir
make clean
make
make install
cd ..
echo $php4_ver install ok

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/631449.htmlTechArticle#You need to modify some directories or add or delete some options according to your needs. # By SonyMusic(sonymusic@163.net) # Mysql 3.22.32 installation script mysql_ver=mysql-3.22.32 prefix=/ugsc/mysql...
Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template