Files
ABSEC/todo.txt
T
2018-05-31 17:00:10 -04:00

22 lines
649 B
Plaintext

Comme Apache a ete installe a partir des sources dans un répertoire non standard,
il faut installer PHP dans cet environnement.
Installation de php a partir des sources dans l'environnement d'apache
Ref: https://dan.drydog.com/apache2php.html
wget "http://ca1.php.net/get/php-7.2.6.tar.gz/from/this/mirror"
mv mirror php-7.2.6.tar.gz
tar -zxvf php-7.2.6.tar.gz
sudo apt-get install libxml2-dev libdb-dev
./configure \
--with-apxs2=/home/jlcyr/apache2/bin/apxs \
--prefix=/home/jlcyr/apache2/php \
--with-config-file-path=/home/jlcyr/apache2/php \
--enable-force-cgi-redirect \
--disable-cgi \
--with-zlib \
--with-gettext \
--with-gdbm