doc:installation:debian

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
doc:installation:debian [2010/01/08 21:11] – external edit 127.0.0.1doc:installation:debian [2017/09/22 13:28] (current) – external edit 127.0.0.1
Line 26: Line 26:
   make: *** [install-sapi] Error 1   make: *** [install-sapi] Error 1
  
 +== Original Solution ==
 See [[http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=231134|Debian bug #231134]] See [[http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=231134|Debian bug #231134]]
  
-== Solution == 
 Edit /etc/apache2/httpd.conf and add Edit /etc/apache2/httpd.conf and add
   #LoadModule dummy_module /usr/lib/apache2/modules/mod_dummy.so   #LoadModule dummy_module /usr/lib/apache2/modules/mod_dummy.so
  
 +== Current Solution on Ubuntu ==
 +This issue is in the process of being fixed ([[https://bugs.launchpad.net/bugs/500703|Ubuntu bug #500703]]).  Until then, add the configuration files manually and force the install to continue.
 +
 +Edit /etc/apache2/mods-available/php5.load and add:
 +  LoadModule php5_module /usr/lib/apache2/modules/libphp5.so
 +
 +Edit /etc/apache2/mods-available/php5.conf and put in:
 +  <IfModule mod_php5.c>
 +    AddType application/x-httpd-php .php
 +    AddType application/x-httpd-php-source .phps
 +  </IfModule>
 +
 +During the make install step, use the -k flag. The -k flag means "keep going when some targets can't be made."  The output will still show the apxs error, but the installation should work.  Do keep an eye out for other compile errors.
 +  make install -k
 +
 +Then enable the php5 module and restart Apache:
 +  a2enmod php5
 +  /etc/init.d/apache2 restart
doc/installation/debian.1262985105.txt.gz · Last modified: 2017/09/22 13:28 (external edit)