LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (https://www.linuxquestions.org/questions/slackware-14/)
-   -   Upgrading Apache -> 2.x (https://www.linuxquestions.org/questions/slackware-14/upgrading-apache-2-x-185220/)

ipren 05-24-2004 09:55 AM

Upgrading Apache -> 2.x
 
I currently run Apache 1.3.31 (on Slackware 9.1).

I haven't found any package for Apache 2.x for Slackware sooo, is it a lot of work to upgrade this baby manually? I don't have much experience with compiling and makefiles and stuff..



/Mathias!

Jojef.K 05-24-2004 10:15 AM

Don't worry, it's not so difficult as it may seem. Just download the tar package from apache.org and follow the enclosed instructions. All you need to do is run configure with the desired options, make and make install it.

keefaz 05-24-2004 02:14 PM

It can take some time to compile apache, if you want php feature you will need to compile it as well, but at least (with maybe CFLAGS optimisation settings) you end with an optimised web serveur for your system.

[ Edit ]
Here are my ./configure options for apache 2 :
Code:

./configure --prefix=/opt/apache \
--enable-so \
--enable-access=shared \
--enable-actions=shared \
--enable-alias=shared \
--enable-auth=shared \
--enable-auth_dbm=shared \
--enable-auth_digest=shared \
--enable-cgi=shared \
--enable-cgid=shared \
--enable-dir=shared \
--enable-headers=shared \
--enable-imap=shared \
--enable-include=shared \
--enable-info=shared \
--enable-log_config=shared \
--enable-logio=shared \
--enable-mime=shared \
--enable-mime_magic=shared \
--enable-speling=shared \
--enable-ssl=shared \
--enable-status=shared \
--enable-unique_id=shared \
--enable-usertrack=shared \
--enable-vhost_alias=shared \
--enable-php4=shared

and for php :
Code:

./configure --prefix=/opt/php \
--with-apxs2=/opt/apache/bin/apxs \
--with-config-file-path=/opt/php \
--with-curl=/usr/local/bin/curl \
--enable-sockets \
--enable-ftp

(mysql feature does not need to be specified in ./configure for php)


All times are GMT -5. The time now is 08:20 PM.