Обсуждение: php4 mod for apache...

Поиск
Список
Период
Сортировка

php4 mod for apache...

От
Herb Pabst
Дата:
Does anyone know where to get a precomiled mod of
php4 for apache that is setup for pgsql? I can't
sen to find the docs on how to do this.

Herbie Pabst


Re: php4 mod for apache...

От
info@i-developit.com
Дата:
Herb,
It is actually pretty easy. First you need to install
Pgsql.  Once you have that installed you would compile
php with the --with-pgsql flag (i believe that is what
it is).  Then once you are done compiling php, you then
need to compile apache with php.  Some good basic instructions
are on www.e-gineer.com.  This does not cover the pgsql
stuff, but I think it covers mysql and they the same
just different flags when you compile php.

So breakdown:
1. compile, install pgsql
2. compile php with pgsql flag, install it
3. compile apache with php module, install it
4. restart the apache web server.

Check out www.e-gineer for more inforamtion and look
under instructions.

Otherwise if you are running RedHat, Mandrake, Debian or
even FreeBSD normally there are binaries for most of this that
would make your life a lot easier.

If you are using Windows, anything I said above will most likely
not help ...

--andy

Herb Pabst wrote:
>
> Does anyone know where to get a precomiled mod of
> php4 for apache that is setup for pgsql? I can't
> sen to find the docs on how to do this.
>
> Herbie Pabst

Re: Re: php4 mod for apache...

От
GH
Дата:
On Fri, Feb 02, 2001 at 12:29:29PM -0500, some SMTP stream spewed forth:
> Herb,
> It is actually pretty easy. First you need to install
*snip*
>
> So breakdown:
> 1. compile, install pgsql
> 2. compile php with pgsql flag, install it
> 3. compile apache with php module, install it

It is my understanding that recompiling Apache is not necessary
when adding the PHP 4 shared module. I believe it is necessary otherwise,
though.

Have fun.

gh

> 4. restart the apache web server.
*snip*
>
> If you are using Windows, anything I said above will most likely
> not help ...
>
> --andy
>
> Herb Pabst wrote:
> >
> > Does anyone know where to get a precomiled mod of
> > php4 for apache that is setup for pgsql? I can't
> > sen to find the docs on how to do this.
> >
> > Herbie Pabst