Re: compile PHP static and use modules?
| From: | Rasmus Lerdorf | Date: | Thu, 19 Oct 2000 05:07:25 +0000 |
| Subject: | Re: compile PHP static and use modules? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-21089@lists.php.net to get a copy of this message | ||
> So before I go through this all again can you let me know if I have
> the configures correct to compile PHP static into Apache but also
> allow me to use other modules:
It's fine.
> [root@www apache_1.3.14]# ./configure \
> > --prefix=/usr/local/apache \
>
> [root@www php-4.0.3pl1]# ./configure \
> > --prefix=/usr/local \
> > --with-mysql=/usr/local/mysql \
> > --with-apache=/usr/local/etc/apache_1.3.14 \
> > --enable-track-vars \
> > --enable-trans-sid \
> > --with-xml
>
> [root@www apache_1.3.14]# ./configure \
> > --activate-module=src/modules/php4/libphp4.a \
> > --enable-module=php4 \
> > --prefix=/usr/local/apache \
> > --enable-module=so
>
> Will this create the directory I put "*.so" modules into?
>
> /usr/lib/apache/
Once you do a 'make install', sure. Try adding --enable-shared=MAX and
you will see it build a whole bunch of .so shared modules.
-Rasmus