Re: [PHP] compiling php 4.2 with apache 2.0.35

2002-04-24 Thread Rasmus Lerdorf

No, you need to install Apache first if you want to build PHP as an Apache
module.

I'd suggest sticking with Apache 1.3.x for now though.

-Rasmus

On Wed, 24 Apr 2002, Michal Dvoracek wrote:

 Hello,

 i have problem with %subj%.

 It's possible to build php without apxs2 ?
 Building php with apxs2 - apxs must be instaled before (e.g. apache
 must be instaled first ?)

 Regards,
 Michal Dvoracek  [EMAIL PROTECTED]


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



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




Re: [PHP] compiling php 4.2 with apache 2.0.35

2002-04-24 Thread Michael Geier

choices:
compile PHP as a DSO module for apache (preferred)
compile PHP as a static-linked module for apache
   - see www.php.net/docs.php for installation instructions

DSO module installation:
untar httpd and php distributions
cd httpd-$vers
./configure --prefix=/path/to/install --enable-module=so
make
make install

cd ../php-$vers
./configure --with-apxs2=/path/to/apache/bin/apxs {other install flags}
make 
make install

vi /path/to/apache/conf/httpd.conf
{ add php options to apache configuration }
/path/to/apache/bin/apachectl start
-- 
Michael Geier
CDM Sports, Inc. - Systems Administrator
email: [EMAIL PROTECTED]
phone: 314.991.1511 x 6505
pager: 314.318.9414 || [EMAIL PROTECTED]


Quoting Michal Dvoracek [EMAIL PROTECTED]:

 Hello,
 
 i have problem with %subj%.
 
 It's possible to build php without apxs2 ?
 Building php with apxs2 - apxs must be instaled before (e.g. apache
 must be instaled first ?)
 
 Regards,
 Michal Dvoracek  [EMAIL PROTECTED]
 
 
 -- 
 PHP General Mailing List (http://www.php.net/)
 To unsubscribe, visit: http://www.php.net/unsub.php
 
 


-
This mail sent through CDM Sports Webmail.

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