Re: building PHP Apache module with PostgreSQL support - Mailing list pgsql-cygwin

From Norman Vine
Subject Re: building PHP Apache module with PostgreSQL support
Date
Msg-id 013001c257ef$4500b630$0100a8c0@sfdev3
Whole thread Raw
In response to building PHP Apache module with PostgreSQL support  ("Andreas" <news.Andreas@gmx.net>)
Responses Re: building PHP Apache module with PostgreSQL support  ("Andreas" <news.Andreas@gmx.net>)
List 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


pgsql-cygwin by date:

Previous
From: "Andreas"
Date:
Subject: building PHP Apache module with PostgreSQL support
Next
From: Peter Eisentraut
Date:
Subject: Re: Installation location of DLLs