Re: compiling php 4.2 with apache 2.0.35
| From: | Michael Geier | Date: | Wed, 24 Apr 2002 13:36:40 +0000 |
| Subject: | Re: compiling php 4.2 with apache 2.0.35 | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-94377@lists.php.net to get a copy of this message | ||
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: operations@cdmsports.com
phone: 314.991.1511 x 6505
pager: 314.318.9414 || page-michael@cdmsports.com
Quoting Michal Dvoracek <michal.dvoracek@capitol.cz>:
> 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 michal.dvoracek@capitol.cz
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
-------------------------------------------------
This mail sent through CDM Sports Webmail.