LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   recompile distro installed apache (https://www.linuxquestions.org/questions/linux-software-2/recompile-distro-installed-apache-233461/)

dmcanally 09-21-2004 02:02 PM

recompile distro installed apache
 
I have been searching the forums high and low, but I could not find an answer to the question I have.

What I need to do is recompile the package installed version of apache(1.3.28) that came with Suse 9.0. I need to compile with --enable-module=so so that I can recompile php with --with-mysql --enable-sockets --enable-ftp --with-zlib. I need those options for a web app that I will be running.

What would be the easiest way to get php supporting those options with the packages already installed from CD? Is there a way to just upgrade with 1.3.31 binary and have it install all the goods to the current locations?

I.E....

/etc/httpd/httpd.conf
/usr/sbin/apachectl
/usr/sbin/httpd

instead of w/ binary install file locations...

/usr/local/apache/conf/httpd.conf
/usr/local/apache/bin/apachectl
/usr/local/apache/bin/httpd

Any help would be appriciated.

THanks!
DMcanally

Boby 09-21-2004 04:25 PM

I don't know if it's possible to do what you want from your cd-package, but you can download and compile your apache by your own..in /usr/local/apache to have these:

/usr/local/apache/conf/httpd.conf
/usr/local/apache/bin/apachectl
/usr/local/apache/bin/httpd

and also with your "--enable-module=so so that I can recompile php with --with-mysql --enable-sockets --enable-ftp --with-zlib"

Apache Homepage You can download version 1.3.31 or 2.0.51.

Boby


All times are GMT -5. The time now is 12:49 PM.