doc:installation:debian

This is an old revision of the document!


Installing PHP from source on Debian

This page lists common error messages and their solution when installing php from source on Debian.

Apache handler

apxs not found
Solution
 aptitude install apache2-prefork-dev

bzip2

Solution
libbz2 + libbz2-dev

IMAP and SSL

configure:46794: checking for IMAP support
configure:46841: checking for IMAP Kerberos support
configure:46867: checking for IMAP SSL support
configure:47275:19: error: /mail.h: No such file or directory
Solution
aptitude install libc-client-dev

Installing PHP with apxs

apxs:Error: Activation failed for custom /etc/apache2/httpd.conf file..
apxs:Error: At least one `LoadModule' directive already has to exist..
make: *** [install-sapi] Error 1

See Debian bug #231134

Solution

Edit /etc/apache2/httpd.conf and add

#LoadModule dummy_module /usr/lib/apache2/modules/mod_dummy.so
doc/installation/debian.1249804634.txt.gz · Last modified: 2017/09/22 13:28 (external edit)