search
Homephp教程php手册这是我在Linux 6.2下APACHE+PHP4+MYSQL的安装脚本。大家看看吧!写得很简陋,不

#需要根据你的需要修改一些目录,或者增删一些选项。
# By SonyMusic(sonymusic@163.net)
# Mysql 3.22.32的安装脚本
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的预配置脚本
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的安装脚本(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的安装脚本。
#
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

Statement
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

SublimeText3 English version

SublimeText3 English version

Recommended: Win version, supports code prompts!

Notepad++7.3.1

Notepad++7.3.1

Easy-to-use and free code editor

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

SecLists

SecLists

SecLists is the ultimate security tester's companion. It is a collection of various types of lists that are frequently used during security assessments, all in one place. SecLists helps make security testing more efficient and productive by conveniently providing all the lists a security tester might need. List types include usernames, passwords, URLs, fuzzing payloads, sensitive data patterns, web shells, and more. The tester can simply pull this repository onto a new test machine and he will have access to every type of list he needs.

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

Integrate Eclipse with SAP NetWeaver application server.