Outils pour utilisateurs

Outils du site


install:php

Différences

Ci-dessous, les différences entre deux révisions de la page.

Lien vers cette vue comparative

Les deux révisions précédentes Révision précédente
Prochaine révision
Révision précédente
install:php [2008/02/05 13:59]
linkuff
install:php [2008/02/05 14:29]
linkuff
Ligne 2: Ligne 2:
  
    # wget http://www.php.net/get/php-5.2.5.tar.gz/from/a/mirror    # wget http://www.php.net/get/php-5.2.5.tar.gz/from/a/mirror
 +
 +  * On décompresse :
 +
    # gzip -d php-5.2.5.tar.gz    # gzip -d php-5.2.5.tar.gz
    # tar -xzf php-5.2.5.tar    # tar -xzf php-5.2.5.tar
 +
 +  * On configure :
 +
    # cd php-5.2.5    # cd php-5.2.5
    # ./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/bin --with-libxml-dir=/usr/lib --with-config-file-path=/etc/apache2 --enable-exif --with-gd --with-zlib-dir=/usr --with-jpeg-dir=/usr/lib --with-freetype-dir=/usr --enable-mbstring --with-pdo-mysql    # ./configure --prefix=/usr/local/php5 --with-apxs2=/usr/local/apache2/bin/apxs --with-mysql=/usr/bin --with-libxml-dir=/usr/lib --with-config-file-path=/etc/apache2 --enable-exif --with-gd --with-zlib-dir=/usr --with-jpeg-dir=/usr/lib --with-freetype-dir=/usr --enable-mbstring --with-pdo-mysql
    # make    # make
    # make test    # make test
 +
 +  * Si tout est ok, on install :
 +
    # make install    # make install
install/php.txt · Dernière modification: 2011/02/02 22:42 (modification externe)