RE: [PHP] upgrade
| From: | Hong Tian | Date: | Thu, 02 May 2002 20:57:47 +0000 |
| Subject: | RE: [PHP] upgrade | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-95763@lists.php.net to get a copy of this message | ||
Pushkar,
The followings are used for compiling Apache+mysql+php with DSO.
Questions are:
At step (3), Is it correct to compile PHP as a DSO by using
--with-apxs=/usr/local/apache/bin/apxs ?
At the step (4), should I add the following two lines?
> --enable-shared=ssl
> --activate-module=src/modules/php4/libphp4.a
--------------
(1)
# cd mysql-3.23.44
# ./configure --prefix=/usr/local/mysql
# make
# make install
(2)
# cd apache_1.3.22
# ./configure --prefix=/usr/local/apache
(3)
# cd php-4.2.0
# ./configure --with-mysql=/usr/local/mysql \
> --with-apache=../apache_1.3.22 \
> --with-apxs=/usr/local/apache/bin/apxs \
> --enable-track-vars
(4)
# cd apache_1.3.22
# ./configure --prefix=/usr/local/apache \
> enable-module=php4
> enable-shared=php4
> enable-module=rewrite
> enable-shared=rewrite
Thank you for your help.
Hong