delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
Date: | Sat, 7 Sep 2002 11:08:58 -0400 |
From: | cygwin AT cygwin DOT com |
To: | cygwin-apps AT cygwin DOT com |
Cc: | cygwin AT cygwin DOT com |
Subject: | Re: PHP Apache module with PostgreSQL support |
Message-ID: | <20020907150858.GA29724@redhat.com> |
Reply-To: | cygwin AT cygwin DOT com |
Mail-Followup-To: | cygwin-apps AT cygwin DOT com, cygwin AT cygwin DOT com |
References: | <IOEFIOCBAFPGBCJCLFMECEAMCDAA DOT news DOT Andreas AT gmx DOT net> |
Mime-Version: | 1.0 |
In-Reply-To: | <IOEFIOCBAFPGBCJCLFMECEAMCDAA.news.Andreas@gmx.net> |
User-Agent: | Mutt/1.4i |
Redirecting to the proper mailing list. On Sat, Sep 07, 2002 at 12:34:01PM +0200, Andreas wrote: >Hello list! > >I downloaded the mod_php4 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? > >After this I decided to build PHP from source but a problem appeared during >the installation described below. I followed the steps pointed out in >php-4.2.0-1.README that are: > > tar xjvf apache-php-X-Y-src.tar.bz2 [1] > patch -p0 < php-X-Y/CYGWIN-PATCHES/php-X-Y.patch [2] > cd php-X-Y [3] > autoconf [4] > ./configure --with-apxs [5] > make [6] > cd sapi/apache/.libs [7] > ../../../CYGIN-PATCHES/mkdll.sh libsapi.la \ > -L ../../../.libs -lphp4 \ > /usr/bin/cyghttpd.dll [8] > mv cygsapi.dll libphp4.dll [9] > /usr/sbin/apxs -i -a -n php4 libphp4.dll [10] > >The process of creating the cygsapi.dll [8] stopps after a list of >"undefined reference to..." messages with following error: >collect2: ld returned 1 exit status > >It would be great if someone could give me a hint in order to bring the PHP >module up and running. > >In fact I want to implement PostgreSQL support for PHP. I also tried to >configure PHP with the required options: >./configure --with-apxs --without-mysql --with-pgsql > >This process terminates with: >... >checking for PostgreSQL support... yes >configure: error: Cannot find libpq.so. Please specify correct PostgreSQL >installation path > >Of course there are no *.so files available under Cygwin. Is there a patch >to fix that, or under which topic I should search for in the mailing list? > >All packages are installed with Cygwin's setup.exe. Additionally the sources >of Apache and PostgreSQL are hosted in: >/usr/src/apache_1.3.24-5 >/usr/src/postgresql-7.2.1-2 > >Are there any further steps necessary for the combination >Apache/PHP/PostgreSQL under Cygwin? > >Thank you in advance! >Regards, Andreas > -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |