I am trying to install apache-1.3.26 & php-4.2.2.
What configure options should I be using for apache???
I just let it install in the default dir so this is what I used;
./configure --enable-module=so
for PHP;
./configure --with-mysql=/usr --with-axps=/usr/local/apache/bin/axps
This all works fine (no errors), but then I need to add php support in the httpd.conf file. The problem is the .so files were not made. I am assuming they should have been created in the /usr/local/apache/libexec dir, the only file in that dir is httpd.exp
I also downloaded another version of apache that has been precompiled for linux. I used the I run that version and it does make the .so files in the /usr/local/apache/libexec. However, when I try to run php configure it gives an error;
Sorry, I was not able to successfully run APXS. Possible reasons:
- Perl is not installed;
- Apache was not compiled with DSO support (--enable-module=so);
- 'apxs' is not in your path. Try to use --with-apxs=/path/to/apxs
The output of /usr/local/apache1326/bin/apxs follows
./configure: /usr/local/apache1326/bin/apxs: no-perl5-on-this-system: bad interpreter: No such file or directory
configure: error: Aborting
Any suggestions.
Thanks
Carlos