Compiler Apache2 et PHP5

Les dependances

Paquet dev installé pour satisfaire les dépendances :

libstdc++-devel
zlib-devel
e2fsprogs-devel
libpng-devel
cyrus-sasl
db4-devel
httpd-devel
glibc-devel
keyutils-libs
libselinux-devel
libidn-devel
libxml2-devel
ncurses-devel
krb5-devel
openssl-devel
curl-devel
apr-devel
apr-util
libsepol-devel
freetype-devel
libjpeg-devel
openldap-devel
expat-devel

Compiler

Apache

Compiler et installer Apache

./configure -prefix=/usr/local/httpd \
--enable-so \
--enable-suexec \
--enable-rewrite=static \
--enable-proxy=static \
--enable-ssl=static \
--enable-headers=static \
--enable-deflate=static \
--enable-status=static && make && make install

PHP

Compiler et installer PHP

./configure -with-apxs2=/usr/local/httpd/bin/apxs \
--disable-short-tags \
--enable-mysql \
--enable-memory-limit \
--enable-calendar \
--enable-magic-quotes \
--with-openssl \
--with-libxml-dir \
--with-xmlrpc \
--with-zlib \
--enable-calendar \
--with-curl \
--enable-ftp \
--with-gd \
--with-jpeg-dir \
--with-png-dir \
--with-freetype-dir \
--with-iconv \
--with-gettext \
--with-ldap \
--enable-mbstring \
--enable-zip \
--with-pear \
--enable-bcmath \
--enable-sigchild \
--enable-gd-native-ttf \
--enable-pcntl && make && sudo make install


comments powered by Disqus