Re: building PHP Apache module with PostgreSQL support

From: "Norman Vine" <nhv(at)cape(dot)com>
To: "Andreas" <news(dot)Andreas(at)gmx(dot)net>, <pgsql-cygwin(at)postgresql(dot)org>
Subject: Re: building PHP Apache module with PostgreSQL support
Date: 2002-09-09 10:54:26
Message-ID: 013001c257ef$4500b630$0100a8c0@sfdev3
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-cygwin

Andreas writes:

> Hello everyone!
>
> I sucessfully installed Cygwin with Apache 1.3.24-5 and PostgreSQL 7.2.1-2
> running as NT services on my WinXP machine. After this I wanted to check
out
> phpPgAdmin to play around with.
> I installed the mod_php4 (4.2.0-1) package and modified Apache's
httpd.conf
> file but was not able to start Apache properly:
> API module structure 'php4_module' in file
> /usr/local/apache/libexec/libphp4.dll is garbled - perhaps this is not an
> Apache module DSO?
>
> However, I think the precompiled mod_php4 bins doesn't support PostgreSQL
> and downloaded the sources (apache-php-4.2.0-1-src.tar.bz2). I configured
> PHP with the required options (after the steps described in
> php-4.2.0-1.README):
> ./configure --with-apxs --without-mysql --with-pgsql

Andreas it was a while ago that I compiled my php extension
but I seem to remember I had problems with apxs and had to
statically link php into apache

Regards

Norman

In response to

Responses

Browse pgsql-cygwin by date

  From Date Subject
Next Message Peter Eisentraut 2002-09-09 18:39:17 Re: Installation location of DLLs
Previous Message Andreas 2002-09-09 08:07:20 building PHP Apache module with PostgreSQL support