delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/10/02/03:36:35

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
From: DCreelman AT cochlear DOT com DOT au
To: cygwin AT cygwin DOT com
Subject: PHP binary doesn't install, source won't build ?
Importance: Normal
Date: Thu, 2 Oct 2003 17:36:45 +1000
Message-ID: <OF3C2C814E.60B2B68E-ONCA256DB3.0029D6B5@cochlear.com>
MIME-Version: 1.0

Configuration: Newly installed cygwin on newly installed W2K. IBM epro, P4,
3xxMb RAM.

Apache works fine if PHP is not configured in.

I've tried installing PHP via setup.exe and on a first attempt it didn't
install at all. I did a find . -name "*php*" in / and no dlls or exes were
found.

On a vague hunch, I tried reinstalling and got a DLL in /usr/lib/apache,
which was a good start (I thought).

However, the module seems to be a little bit old and gives the following
error:-
[Thu Oct  2 17:26:15 2003] [warn] Loaded DSO lib/apache/libphp4.dll uses
plain Apache 1.3 API, this module might crash under EAPI! (please recompile
it with -DEAPI)

So, time for a recompile. Tick the src box and get it down into /usr/src.

configure so that mysql support is not included

configure --with-mysql=no

make install
[snip]
Making install in .
make[1]: Entering directory `/usr/src/php-4.2.0-2'
/usr/src/php-4.2.0-2/build/shtool install -c -m 0755 php /usr/local/bin/php
cp: `php' and `/usr/local/bin/#INST AT 2288#' are the same file
make[1]: *** [install-sapi] Error 1
make[1]: Leaving directory `/usr/src/php-4.2.0-2'
make: *** [install-recursive] Error 1

Now I don't know quite what is wrong. Has anyone had a similar experience ?
Can anyone get php working under Apache on cygwin ?

Cheers
David



==============================================

"The information contained in this e-mail message may be confidential information, and may also be privileged. If you are not the intended recipient, any use, interference with, disclosure or copying of this material is unauthorised and prohibited.  If you have received this message in error, please notify us by return email and delete the original message."

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019