Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Apache2 v Apache 1...
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Networking & Security
View previous topic :: View next topic  
Author Message
somedudeppf
n00b
n00b


Joined: 23 Jan 2004
Posts: 29
Location: San Francisco, CA

PostPosted: Sat Feb 07, 2004 7:02 am    Post subject: Apache2 v Apache 1... Reply with quote

So I'm trying to install Zend server and am having some problems, then I figure out "hey, they don't support apache2, great..."

Back to the topic at hand:

Why should or shouldn't I keep apache2? I'm running some php mysql stuff, nothing major.. test server mainly.

thanks,
Adam
Back to top
View user's profile Send private message
Ateo
Advocate
Advocate


Joined: 02 Jun 2003
Posts: 2022
Location: Vegas Baby!

PostPosted: Sat Feb 07, 2004 7:05 am    Post subject: Reply with quote

No reason to NOT use apache2 especially if you're only using it as a development server. Apache2 works just fine. So my answer to your question: No reason to NOT use apache 2. Only an opinion.
Back to top
View user's profile Send private message
somedudeppf
n00b
n00b


Joined: 23 Jan 2004
Posts: 29
Location: San Francisco, CA

PostPosted: Sat Feb 07, 2004 5:48 pm    Post subject: Reply with quote

Rockon, but , but, but, I can't run zend on it.. But i just sparked a thought, Can't I run apache1 on a different port? Damn.. I am the man
8)


-adam

"I am the the greatest! I even said that before I knew I was."
--Muhammad Ali
Back to top
View user's profile Send private message
dreamer
Apprentice
Apprentice


Joined: 16 Aug 2003
Posts: 236

PostPosted: Sat Feb 07, 2004 10:43 pm    Post subject: Reply with quote

well, it is possible to listen on a different port, but i'm not sure if it is possible to have two version of apache installed at the same time.
Why don't you give it a try and tell us about it? :P
Back to top
View user's profile Send private message
pakman
Tux's lil' helper
Tux's lil' helper


Joined: 06 Jan 2004
Posts: 100

PostPosted: Sun Feb 08, 2004 1:56 am    Post subject: Reply with quote

It's possible to have apache 1.3 and 2.0 running at the same time on different ports. You should be able to emerge both without problem, I had both installed for testing once but gave up as everything worked fine on apache2 and 2 sets of conf files was confusing me too much.

The main difference is apache 2 is threaded so can take advantage of SMP/hyperthreading. Its a fairly major rewrite and seems quite a bit faster even on single non-hyperthreading CPU's. In speed tests I ran on a PHP/MySQL CMS apache2 was a lot faster, 4x on some pages.

Theres no mod_throttle for apache2 so if you want to limit vhosts traffic its tricky.

I've heard of people having issues with mod_php and apache2, I do quite a bit of PHP and haven't found any issues at all with it. If you need zend then I guess you need apache1.3 :)
Back to top
View user's profile Send private message
somedudeppf
n00b
n00b


Joined: 23 Jan 2004
Posts: 29
Location: San Francisco, CA

PostPosted: Sun Feb 08, 2004 5:08 am    Post subject: Reply with quote

it seems portage is quite partial to Apache2.. I guess i'll just have to do apache 1 old school style
Back to top
View user's profile Send private message
flybynite
l33t
l33t


Joined: 06 Dec 2002
Posts: 620

PostPosted: Sun Feb 08, 2004 5:16 am    Post subject: Reply with quote

create a file /etc/portage/package.mask containing :

>=net-www/apache-2.0

and apache2 will be masked in portage.
Back to top
View user's profile Send private message
somedudeppf
n00b
n00b


Joined: 23 Jan 2004
Posts: 29
Location: San Francisco, CA

PostPosted: Sun Feb 08, 2004 5:29 am    Post subject: Reply with quote

like a charm!
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Networking & Security All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum