Re: Both apache and apache2 (sarge) ?

2004-06-28 Thread Kenneth Jacker
  ta Try and use 'equivs' for this ...

Sorry, but I'm not familiar with 'equivs'.

Could you elaborate a bit?

Thanks for your letter,

  -Kenneth


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Both apache and apache2 (sarge) ?

2004-06-28 Thread Kenneth Jacker
  sk Apache2 comes in several variants depending on which MPM
  sk (multi-processing module) has been compiled in.
  sk There is an MPM called the prefork MPM that essentially
  sk behaves like Apache1, in that a pool of *processes* is
  sk created.

Yes, that's the version that installed by default:

   apache2-mpm-prefork  2.0.49-1


  sk Provided you are using the prefork mode for apache2, and can
  sk find an appropriate apache2 module for PHP, it *should* work.

Hmmm ... I could do that, but what about managing this approach with apt-get?
I'm doing my best to try and stick with official, Debian procedures
(rather than _ad hoc_).

I guess another solution -- that would probably work OK with apt-get
-- is to just install 'apache'.  Seems preferable, however, to use the
newer Apache version ...

Thanks for your ideas!

  -Kenneth


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Both apache and apache2 (sarge) ?

2004-06-27 Thread Kenneth Jacker
I'm trying to install 'phpmyadmin' and 'acidlab' on testing/sarge.

The default web server installed was 'apache2'.  Yet when I try and
install the above, dependencies want to force an install of 'apache'
(the fact that 'apache2' is already there seems to be ignored).

Doesn't seem right installing *two* versions of 'apache'.

Any comments, suggestions, and/or help is appreciated!

Thanks,

-- 
Prof Kenneth H Jacker   [EMAIL PROTECTED]
Computer Science Dept   www.cs.appstate.edu/~khj
Appalachian State Univ
Boone, NC  28608  USA


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Both apache and apache2 (sarge) ?

2004-06-27 Thread Thomas Adam
--- Kenneth Jacker [EMAIL PROTECTED] wrote: 

 Any comments, suggestions, and/or help is appreciated!

Either:

Try and use 'equivs' for this, or:

dpkg --force-depends 

and in the latter case, on your head be it should anything break.

-- Thomas Adam

=
The Linux Weekend Mechanic -- http://linuxgazette.net
TAG Editor -- http://linuxgazette.net

shrug We'll just save up your sins, Thomas, and punish 
you for all of them at once when you get better. The 
experience will probably kill you. :)

 -- Benjamin A. Okopnik (Linux Gazette Technical Editor)





___ALL-NEW Yahoo! Messenger - 
so many all-new ways to express yourself http://uk.messenger.yahoo.com


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: Both apache and apache2 (sarge) ?

2004-06-27 Thread Simon Kitching
On Mon, 2004-06-28 at 14:25, Kenneth Jacker wrote:
 I'm trying to install 'phpmyadmin' and 'acidlab' on testing/sarge.
 
 The default web server installed was 'apache2'.  Yet when I try and
 install the above, dependencies want to force an install of 'apache'
 (the fact that 'apache2' is already there seems to be ignored).
 
 Doesn't seem right installing *two* versions of 'apache'.
 
 Any comments, suggestions, and/or help is appreciated!

Apache2 comes in several variants depending on which MPM
(multi-processing module) has been compiled in. There is an MPM called
the prefork MPM that essentially behaves like Apache1, in that a pool
of *processes* is created. And there is the worker MPM in which a pool
of *threads* is created within the same apache process.

Unfortunately a number of apache extension modules are not thread-safe,
and hence will not work with the apache2 worker version. PHP is one of
them. So PHP and friends tend to just require apache1 instead of apache2
(anyway, that's what I gather from articles I have read).

Provided you are using the prefork mode for apache2, and can find an
appropriate apache2 module for PHP, it *should* work. However you will
need to fiddle around a bit with the install as this setup isn't the
default setup. You can probably find instructions on the PHP website.

You can run apache2 -l to list the installed modules, one of which
will be the MPM module that your installed apache2 instance is using.

NB: I'm not a PHP user, so all the above is hearsay

Regards,

Simon


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]