LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 05-24-2004, 10:55 AM   #1
ipren
LQ Newbie
 
Registered: May 2004
Location: Stockholm / Sweden
Distribution: Slackware 10
Posts: 14

Rep: Reputation: 0
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!
 
Old 05-24-2004, 11:15 AM   #2
Jojef.K
LQ Newbie
 
Registered: Sep 2003
Location: Hellas
Posts: 14

Rep: Reputation: 0
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.
 
Old 05-24-2004, 03:14 PM   #3
keefaz
LQ Guru
 
Registered: Mar 2004
Distribution: Slackware
Posts: 5,394

Rep: Reputation: 409Reputation: 409Reputation: 409Reputation: 409Reputation: 409
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)

Last edited by keefaz; 05-24-2004 at 03:30 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Upgrading (Apache) emptystrings Slackware 7 11-11-2004 12:32 AM
Upgrading from Apache 1.3 to 2.0 kaplan71 Linux - Software 1 08-09-2004 04:20 PM
Upgrading Apache sveioen Slackware 3 05-20-2004 07:28 PM
upgrading apache vincee Linux - Networking 1 09-09-2002 03:43 PM
Upgrading Apache kaidoggy Linux - Software 14 08-07-2002 03:02 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

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

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration