[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Potato .deb pkg install of apache/php/mod_perl/postgresql or mysql

Thanks.  Your post built confidence so I waded in today.

I got apache, php4 and postgresql limping along together,
now working on mod_perl.  I bear in mind what you said about php4,
but it was already installed so I just used it for today's trial.

It was easy for the first three:

apt-get install apache php4 php4-pgsql postgresql (maybe a few of these)

Potato /etc/mime.types comes php-ready:
application/x-httpd-php             phtml pht php

/etc/apache/httpd.conf needed just this:
LoadModule php4_module /usr/lib/apache/1.3/libphp4.so

/etc//php4/apache/php.ini needed just this:


On Sat, Jul 08, 2000 at 11:29:08AM +0800, Corey Popelier wrote:
> I have just completed an install based on MySQL, Apache and PHP3. This was
> all done using apt-get install (I'm using woody though, on a 2.2.15
> kernel).
> If you pursue this direction, feel free to email me directly if you need
> some hints or tips. Only thing I can think of to say at the moment is get
> MySQL and Apache working, then do PHP last. This can all be done using
> apt-get install (mysql-server, mysql-client, apache, php3,
> php3-mysql) and whatever else it grabs :)
> There should then be an extension=mysql.so line in the php3.ini file, and
> a LoadModule line relating to mysql in the apache httpd.conf file. There
> isnt much more to this setup - assuming you've set up apache right in the
> first place. The config files for apache (httpd.conf, srm.conf) are
> pretty well documented.
> You could certainly do Apache first, get that working, then do MySQL and
> finally tie the two with PHPx without too much complexity.
> Mod_Perl i cant comment on. Oh, and this above detail should be pretty
> right with potato too. And I'd prolly recommend you stay away from PHP4
> for now, from what ive heard its not quite "there" yet.
> Cheers,
>  Corey Popelier
>  http://members.dingoblue.net.au/~pancreas
>  Work Email: copo@commerce.wa.gov.au
> On Fri, 7 Jul 2000, Gordon Pedersen wrote:
> > I run potato, now about 4 weeks old.
> > 
> > I want to install apache with php (3 or 4), mod_perl and either
> > postgresql or mysql.
> > 
> > It seems better in the long run to master an apt-get-based method of
> > installing them *if* that is possible--that's what I don't know.
> > 
> > I have looked in the debian-user archives and found some relevant
> > posts but nothing that quite answered my question.
> > 
> > Is it possible to do so using apt-get & the right debian packages?
> > If so, is there an order to events to make it all work?  For
> > instance, should one install postgres/mysql, then apache-perl, then
> > php4-pgsql?  Or does it only work to have source for apache and php
> > and perhaps the database, too?
> > 
> > Or do folks usually end up compiling their own?
> > 
> > In that case, does anyone have a suggestion for which versions of
> > each source to get that match well together?  
> > 
> > And is it reliable to use debian sources (via apt-get source) to get
> > the programs working together (presuming I follow their
> > directions ;-])?  Or should one just head for the 'real' source?
> > 
> > Thanks.
> > 
> > -- 
> > Gordon Pedersen         
> > info systems design     Saint Paul, Minnesota, USA
> > gordon@visi.com
> > gpeder@araz.com
> > 
> > 
> > -- 
> > Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> > 

Gordon Pedersen         
info systems design     Saint Paul, Minnesota, USA

Reply to: