编译APACHE+PHP+MYSQL的一个脚本_MySQL
Apache
源码:--------------------------------------------------------------------------------#FOR APACHE 1.3
export FilePath=/usr/local
export MysqlName=mysql-3.23.52
export PHPName=php-4.2.2
export ApacheName=apache_1.3.26
#install mysql
cd $FilePath
tar -zxvf $MysqlName.tar.gz
cd $MysqlName
./configure --prefix=$FilePath/mysql
make
make install
cd $FilePath/$MysqlName/bin
./mysql_install_db
#install php and apache
cd $FilePath
tar -zxvf $PHPName.tar.gz
tar -zxvf $ApacheName.tar.gz
cd $FilePath/$ApacheName
./configure --prefix=$FilePath/apache
cd $FilePath/$PHPName
./configure --with-mysql=$FilePath/mysql --with-apache=$FilePath/$ApacheName --enable-track-vars --prefix=$FilePath/php
make
make install
cd $FilePath/$ApacheName
./configure --prefix=$FilePath/apache --activate-module=src/modules/php4/libphp4.a
make
make install
echo "ok!ok!ok!"
--------------------------------------------------------------------------------
源码:--------------------------------------------------------------------------------#FOR APACHE 2
export FilePath=/usr/local/myferly
export MysqlName=mysql-4.0.10-gamma
export PHPName=php-4.3.1
export ApacheName=httpd-2.0.44
#install mysql
cd $FilePath
tar -zxvf $MysqlName.tar.gz
cd $MysqlName
./configure --prefix=$FilePath/mysql
make
make install
cd $FilePath/mysql/bin
./mysql_install_db
#install php and apache
cd $FilePath
tar -zxvf $PHPName.tar.gz
tar -zxvf $ApacheName.tar.gz
cd $FilePath/$ApacheName
./configure --prefix=$FilePath/apache --enable-auth-anon --enable-auth-dbm
--enable-file-cache --enable-cache --enable-disk-cache --enable-mem-cache
--enable-ext-filter --enable-proxy --enable-proxy-connect --enable-proxy-http
--enable-http --enable-dav --enable-rewrite --enable-so
make
make install
cd $FilePath/$PHPName
./configure --with-mysql=$FilePath/mysql --with-apxs2=$FilePath/apache/bin/apxs --enable-track-vars --prefix=$FilePath/php
make
make install
echo "ok!ok!ok!"

Heiße KI -Werkzeuge

Undresser.AI Undress
KI-gestützte App zum Erstellen realistischer Aktfotos

AI Clothes Remover
Online-KI-Tool zum Entfernen von Kleidung aus Fotos.

Undress AI Tool
Ausziehbilder kostenlos

Clothoff.io
KI-Kleiderentferner

AI Hentai Generator
Erstellen Sie kostenlos Ai Hentai.

Heißer Artikel

Heiße Werkzeuge

Notepad++7.3.1
Einfach zu bedienender und kostenloser Code-Editor

SublimeText3 chinesische Version
Chinesische Version, sehr einfach zu bedienen

Senden Sie Studio 13.0.1
Leistungsstarke integrierte PHP-Entwicklungsumgebung

Dreamweaver CS6
Visuelle Webentwicklungstools

SublimeText3 Mac-Version
Codebearbeitungssoftware auf Gottesniveau (SublimeText3)

Heiße Themen

Wie erstelle ich ein Skript zur Bearbeitung? Tutorial zum Erstellen eines Skripts durch Bearbeitung

Wie führe ich eine .sh-Datei im Linux-System aus?

So installieren Sie den Linux-Kernel unter Ubuntu 22.04 Detailliertes Tutorial!

Windows PowerShell-Skript-Tutorial für Anfänger

So erstellen Sie 7Z- und TAR-Archivdateien unter Windows 11

Top 10 Währungsaustausch -Apps 2025 Währungsaustausch empfohlene Sammlung

Detaillierte Schritte zur Apache PHP-Kompilierung und -Installation

Detaillierte Anleitung zum Überprüfen von Transaktionsdatensätzen, nachdem die virtuelle Währung storniert wurde
