LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 09-09-2004, 02:31 AM   #1
melinda_sayang
Member
 
Registered: Dec 2003
Location: Petaling Jaya
Distribution: Ubuntu
Posts: 475

Rep: Reputation: 31
installing apache 2


I have Slackware 10 that come with apache 1.3. However I want to install apache 2. If I install apache 2 in usr prefix ( ./configure --prefix=/usr ), will it collide with apache 1.3???

Thank you.
 
Old 09-09-2004, 06:10 AM   #2
SBing
Member
 
Registered: Mar 2004
Posts: 519

Rep: Reputation: 35
Someone else would be able to advise you on the collision - however, you could not just use pkgtool to remove apache 1.3.x first? You could then safely install 2.x :)
 
Old 09-09-2004, 09:03 AM   #3
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Use these packages,
http://www.linuxpackages.net/search_...pache&ver=10.0

All you need to do is removepkg the old one(s), and installpkg apache2 (and phpapache2 if you want php).
 
Old 09-09-2004, 09:08 AM   #4
melinda_sayang
Member
 
Registered: Dec 2003
Location: Petaling Jaya
Distribution: Ubuntu
Posts: 475

Original Poster
Rep: Reputation: 31
No, I don't want to remove apache 1.3. I just want to play around with apache 2 and maybe I want to get a work with apache 1.3. So I guess I have to install to another prefix.
 
Old 09-09-2004, 09:14 AM   #5
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
Quote:
Originally posted by melinda_sayang
No, I don't want to remove apache 1.3. I just want to play around with apache 2 and maybe I want to get a work with apache 1.3.
Well, there are the packages if you want to install Apache2.

Quote:
So I guess I have to install to another prefix.
AFAIK, apache 1.x installs to /etc/apache, while apache 2.x installs to /etc/apache2.

But im not sure if there other libraries or links that may conflict with having both installed at the same time... especially the binaries or modules..
 
Old 09-09-2004, 12:17 PM   #6
Cedrik
Senior Member
 
Registered: Jul 2004
Distribution: Slackware
Posts: 2,140

Rep: Reputation: 244Reputation: 244Reputation: 244
it is just the config files that are installed in /etc, not the programs, libraries/modules and documentation.

I have installed apache 2 two years ago, what I did was download apache2 and php sources and compile them with prefix=/opt/apache2 and /opt/php

here were my options used to compile apache2 :
./configure --prefix=/opt/apache2 \
--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 php :

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

At the time I did it apache2 was version 2.46, but things for configure are surelly the same.
All files were installed in /opt and apache2 running did not collide with apache 1.23.

Last edited by Cedrik; 09-09-2004 at 12:21 PM.
 
  


Reply



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
Installing Apache Gins Linux - General 31 09-11-2005 01:08 PM
Installing Apache 2.0.53 dashp Linux - Newbie 5 03-06-2005 06:25 PM
Installing Apache 1.3 cmccully Linux - Software 2 02-03-2005 11:49 PM
Installing Apache 1.3.26 with Thinkgeekness Linux - Software 1 03-17-2003 12:51 PM
installing apache carlcromer Linux - Security 1 07-01-2002 07:36 AM

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

All times are GMT -5. The time now is 03:54 AM.

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
Open Source Consulting | Domain Registration