Outils pour utilisateurs

Outils du site


install:php
  • Depuis votre serveur, téléchargez la dernière version de PHP
 # 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
 # tar -xzf php-5.2.5.tar
  • On configure :
 # 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
 # make
 # make test
  • Si tout est ok, on install :
 # make install
install/php.txt · Dernière modification: 2011/02/02 22:42 (modification externe)

Outils de la page