Comment 2 for bug 500703

Revision history for this message
Daniel Convissor (convissor) wrote :

Until this gets fixed, people reading this may want to know how to work around the issue...

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