note 23031 added to install.linux
| From: | yoann dot wyffels at wanadoo dot fr | Date: | Sun, 07 Jul 2002 13:04:37 +0000 |
| Subject: | note 23031 added to install.linux | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32706@lists.php.net to get a copy of this message | ||
Compilation Apache 2.0.39 + PhP 4.2.1 sur Linux Debian 2.2.19
(penser à installer sendmail ou qmail avant toute chose, autrement php n'aura pas la fonction
mail() )
======
Apache 2:
======
./configure --enable-shared=all
make
make install
======
Php 4.2.1
======
(installer flex & bison si erreur lors de configure:
apt-get install flex
apt-get install bison)
Editer ./sapi/apache2filter/php_functions.c et changer (ligne 93 me semble-t-il)
#if !MODULE_MAGIC_AT_LEAST(20020506,0)
par
#if !AP_MODULE_MAGIC_AT_LEAST(20020506,0)
puis:
./configure --with-mysql -with-mail --with-apxs2=/usr/local/apache2/bin/apxs --enable-track-vars
========
Conf Apache
========
Vérifier qu'il y a bien
LoadModule php4_module /usr/local/apache2/modules/libphp4.so
et
AddType application/x-httpd-php .php
AddType application/x-httpd-php3 .php3
--
http://www.php.net/manual/en/install.linux.php
http://master.php.net/manage/user-notes.php?action=edit+23031
http://master.php.net/manage/user-notes.php?action=delete+23031
http://master.php.net/manage/user-notes.php?action=reject+23031