At 05:52 PM 2/23/2002 +0100, Sebastian Bergmann wrote:
>Chand wrote:
>> are you sure you've tried compiling it as a built-in module in Apache?
>
>    $ cd /usr/src/httpd-2.0
>    $ ./configure --enable-so --enable-mods-shared=ALL
>    $ make
>    $ make install
>    $ cd /usr/src/php4
>    $ ./configure --with-apxs2=/usr/local/apache2/bin/apxs
>    $ make
>    $ make install
>
>  ... works just fine here,
>Sebastian

ok this segfaults on my comp (linux 2.4.17), but my point was to try and build an 
httpd binary with php built in. What you do here is a module loaded at startup. not 
*Entirely* different but not quite the same anyway :)

Configuring it would have to go this way : 

>    $ cd /usr/src/httpd-2.0
>    $ ./configure --enable-so --enable-mods-shared=ALL
>   $ cd /usr/src/php4
>    $ ./configure --with-apache=../httpd-2.0
>    $ make
>    $ make install
        $ cd /usr/src/httpd-2.0
        $ ./configure [... All valid options you want]
        $ make 
        $ make install

If anyone got this working, I'm interested. I'll try again with the newest cvs version 
of both distributions.

Later


>-- 
>  Sebastian Bergmann
>  http://sebastian-bergmann.de/                 http://phpOpenTracker.de/
>
>  Did I help you? Consider a gift: http://wishlist.sebastian-bergmann.de/
>
>-- 
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, visit: http://www.php.net/unsub.php

--
Mark Villemade
Hosting Services Technical Manager
MultiMania / Lycos
(int) +33 1 53 27 24 05


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to