note 36743 added to install.apache2
| From: | mauricio dot seeberger at iwi dot unibe dot ch | Date: | Tue, 21 Oct 2003 07:10:31 +0000 |
| Subject: | note 36743 added to install.apache2 | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-58963@lists.php.net to get a copy of this message | ||
If you try to compile PHP on a Debian Sid System with Apache2 already installed via apt-get, you
need to patch the Makefile to have the apr headers properly included, as they are not at the usual
place:
Make sure you have following packages installed:
> apt-get install apache2-dev postgresql-dev
Look up for configure options:
> ./configure --help > configure-options.txt
I had to pass the path to apxs2:
> ./configure --with-openssl --with-pgsql --with-zlib --with... --with...
> --with-apxs2=/usr/bin/apxs2
An now for Debian Sid only, patch the Makefile:
Search for the line 'INCLUDES = ' and append '-I/usr/include/apr-0' at the end.
> make
> make install
Voilà!
----
Manual Page -- http://www.php.net/manual/en/install.apache2.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+36743
Delete -- http://master.php.net/manage/user-notes.php?action=delete+36743&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+36743&report=yes
Search -- http://master.php.net/manage/user-notes.php