24 lines
651 B
Plaintext
Executable File
24 lines
651 B
Plaintext
Executable File
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
|
|
|