[Linux] Installation de Apache 2.4.2 & PHP 5.
Arno59
Messages postés
4753
Statut
Contributeur
-
andykimpe -
andykimpe -
Bonjour,
Je tente en vain d'installer Apache 2.4.2 http://www.apache.org/ puis PHP 5.4.3 https://www.php.net/
httpd-2.4.2# ls
Que dois-je configurer ?
Je tente en vain d'installer Apache 2.4.2 http://www.apache.org/ puis PHP 5.4.3 https://www.php.net/
httpd-2.4.2# ls
ABOUT_APACHE BuildBin.dsp httpd.dsp Makefile.in ROADMAP acinclude.m4 buildconf httpd.spec Makefile.win server Apache-apr2.dsw CHANGES include modules srclib Apache.dsw config.layout INSTALL NOTICE support apache_probes.d configure InstallBin.dsp NWGNUmakefile test ap.d configure.in LAYOUT os VERSIONING build docs libhttpd.dsp README BuildAll.dsp emacs-style LICENSE README.platforms
/usr/local/httpd-2.4.2# ./configure checking for chosen layout... Apache checking for working mkdir -p... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu Configuring Apache Portable Runtime library ... checking for APR... no configure: error: APR not found. Please read the documentation.
Que dois-je configurer ?
A voir également:
- [Linux] Installation de Apache 2.4.2 & PHP 5.
- Apache open office gratuit - Télécharger - Suite bureautique
- Linux reader - Télécharger - Stockage
- Installation windows 10 sans compte microsoft - Guide
- Installation chromecast - Guide
- Backtrack linux - Télécharger - Sécurité
3 réponses
En attendant j'ai testé Apache 2.2.22
/usr/local/httpd-2.2.22
L'installation a réussi alors que la version 2.4.2 a échoué ???
/usr/local/httpd-2.2.22
L'installation a réussi alors que la version 2.4.2 a échoué ???
Pour la version Apache 2.4.2 il faut ajouter l'option APR :
./configure --with-included-apr
Je continue la recherche
./configure --with-included-apr
./configure --prefix=/usr/local/httpd-2.4.2 --with-included-apr checking for chosen layout... Apache checking for working mkdir -p... yes checking for grep that handles long lines and -e... /bin/grep checking for egrep... /bin/grep -E checking build system type... i686-pc-linux-gnu checking host system type... i686-pc-linux-gnu checking target system type... i686-pc-linux-gnu Configuring Apache Portable Runtime library ... configure: error: Bundled APR requested but not found at ./srclib/. Download and unpack the corresponding apr and apr-util packages to ./srclib/.
Je continue la recherche
installer apr et apr utils http://apr.apache.org
mais tu devrais utilisez la version 2.2 de cette façon tu pourra installer plus facilement
centos fedora red hat
yum -y install httpd httpd-devel php php-mysql chkconfig
chkconfig httpd on
service start httpd
ubuntu
apt-get -y install apache2 php php-mysql chkconfig
chkconfig apache2 on
service start apache2
debian
aptutude -y install apache2 php php-mysql chkconfig
chkconfig apache2 on
service start apache2
mais tu devrais utilisez la version 2.2 de cette façon tu pourra installer plus facilement
centos fedora red hat
yum -y install httpd httpd-devel php php-mysql chkconfig
chkconfig httpd on
service start httpd
ubuntu
apt-get -y install apache2 php php-mysql chkconfig
chkconfig apache2 on
service start apache2
debian
aptutude -y install apache2 php php-mysql chkconfig
chkconfig apache2 on
service start apache2