View previous topic :: View next topic |
Author |
Message |
somedudeppf n00b
Joined: 23 Jan 2004 Posts: 29 Location: San Francisco, CA
|
Posted: Sat Feb 07, 2004 7:02 am Post subject: Apache2 v Apache 1... |
|
|
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 |
|
|
Ateo Advocate
Joined: 02 Jun 2003 Posts: 2022 Location: Vegas Baby!
|
Posted: Sat Feb 07, 2004 7:05 am Post subject: |
|
|
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 |
|
|
somedudeppf n00b
Joined: 23 Jan 2004 Posts: 29 Location: San Francisco, CA
|
Posted: Sat Feb 07, 2004 5:48 pm Post subject: |
|
|
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
-adam
"I am the the greatest! I even said that before I knew I was."
--Muhammad Ali |
|
Back to top |
|
|
dreamer Apprentice
Joined: 16 Aug 2003 Posts: 236
|
Posted: Sat Feb 07, 2004 10:43 pm Post subject: |
|
|
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? |
|
Back to top |
|
|
pakman Tux's lil' helper
Joined: 06 Jan 2004 Posts: 100
|
Posted: Sun Feb 08, 2004 1:56 am Post subject: |
|
|
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 |
|
|
somedudeppf n00b
Joined: 23 Jan 2004 Posts: 29 Location: San Francisco, CA
|
Posted: Sun Feb 08, 2004 5:08 am Post subject: |
|
|
it seems portage is quite partial to Apache2.. I guess i'll just have to do apache 1 old school style |
|
Back to top |
|
|
flybynite l33t
Joined: 06 Dec 2002 Posts: 620
|
Posted: Sun Feb 08, 2004 5:16 am Post subject: |
|
|
create a file /etc/portage/package.mask containing :
>=net-www/apache-2.0
and apache2 will be masked in portage. |
|
Back to top |
|
|
somedudeppf n00b
Joined: 23 Jan 2004 Posts: 29 Location: San Francisco, CA
|
Posted: Sun Feb 08, 2004 5:29 am Post subject: |
|
|
like a charm! |
|
Back to top |
|
|
|