Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I'm following this tutorial http://www.php.net/manual/en/install.unix.apache2.php

I've gotten to the part where libphp5.so should magically be in modules/ after the PHP install, but it's not. I've run

find / -name libphp5.so -print

With no results. I've also backtracked the tutorial and checked if there is any mention of libphp5.so before this point - there is not.

if there a ./configure option that decides if the module gets built?

Any help appreciated

share|improve this question

1 Answer 1

up vote 2 down vote accepted





depending if you have Apache 1.x or Apache 2.x installed.

apxs is the Apache module auto-configuration system. It comes with Apache, so obviously Apache should be installed first. You can find out where apxs is installed with:

$ which apxs

So, if you have Apache 2.x installed, and you find apxs is in /usr/local/sbin it would be:

configure --with-apxs2=/usr/local/sbin/apxs ... other args ...

You could of course combine the two steps with:

configure --with-apxs2=`which apxs`... other args ...
share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.