On Wed, 19 Dec 2007 20:19:09 -0800
Andrew Sackville-West <[EMAIL PROTECTED]> wrote:

> On Wed, Dec 19, 2007 at 12:50:49PM -0800, Jeppe wrote:
> > Hi there,
> > 
> > First of all, I´m new to Debian and especially the apt-thing.
> 
> hi welcome, etc. DOn't worry, you'll soon be fully indoctrinated ;)
> 
> > I was going to try to enable apache2 with mysql. I already have a
> > Postgres-DB but now for different reasons, I also wanted MySQL. I
> > did not enable MySQL during the apache installation the first
> > time. PHP (4.-something) is/was enabled and worked towards
> > Postgres without any problems.
> > 
> > So, after having done a "apt-cache search mysql" and grep:ed for
> > something containg php I found the package:
> > 
> > php4-mysql
> > 
> > I thought this must be the right thing for me, I mean, I want to
> > be able to connect to MySQL with PHP4.
> > 
> > Well, I did "apt-get install php4-mysql" (I have included some of
> > the output between ---- )
> > 
> > -------------------------------
> > Reading Package Lists... Done
> > Building Dependency Tree... Done
> > The following extra packages will be installed:
> >   apache-common libapache-mod-php4 libkrb53 libpq4 php4-common
> > php4- pgsql
> 
> these package are being install because php4-mysql requires them.
> But you're catching yourself here with a minor, important thing:
> there are two apache structures in debian. apache and apache2. They
> are diferent, mutually exclusive things. You need to decide if you
> want to go apache or apache2 (probably the second) and then pay
> attention to the deps of your packages so that you get the right
> ones. 
> 
> I'm not fully up on apache/php in debian, and what I suggest is just
> based on a little searching of packages.debian.org. It appears that
> php4 and apache are being migrated out and php5 and apache2 are
> coming in. So spend a little time review the dependencies, grepping
> package lists, or get to know the aptitude interface so you can see
> the results of different actions. You'll be up to speed in no time. 
> 
> hth a little
> 
> A
> 

An install of ONLY Apache2 also installs apache-common.

I understand staying with "old, stable, mature" server applications.
It took forever for me to move to Etch from Sarge.  However, along
with Andrew, I would suggest moving to php5 as soon as you are able.
Official support for php4 is done at the end of the year. The move is
on to "force" conversion to php5. The move is not painful at all.

The move to Apache2 was, for me, a little more painful.  However,
that pain was short-lived.  It seems to be much better in the long
term.

-- 
Raquel
============================================================
When you make a world tolerable for yourself, you make a world
tolerable for others. --Anais Nin

Reply via email to