[PHP-INST] Build PHP4 as CGI and Apache module at the same time From: Filipe Brandenburger (filipe-brandenburger <email protected>)
Date: 02/06/03

Hello,

I wonder if it's possible to build both the CGI and the Apache module
versions of PHP4 at once, since I think it's a bit of a waste having to
compile each C source code twice. Is there any reason why this isn't
possible (for example, module version must be PIC and CGI version must not)?

Well, if it is possible to do it, why isn't it well documented and
presented as an option in PHP's configure script, as something like
--with-cgi? So that someone could run

   ./configure --with-apxs=/path/to/apxs --with-cgi

and have both libphp4.so and the php executable built and installed at the
same time.

By the way, I'm with PHP 4.2.2, I don't actually know if this is already
possible in PHP 4.3. Please tell me if so, and excuse me for posting this
in this case.

Thanks,

Filipe

-- 
PHP Install Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php