delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/05/06/16:22:44

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
To: cygwin AT cygwin DOT com
From: Andrew DeFaria <Andrew AT DeFaria DOT com>
Subject: Re: how to build php in cygwin?
Date: Thu, 06 May 2004 13:20:26 -0700
Lines: 80
Message-ID: <409A9E0A.1080408@DeFaria.com>
References: <c7cmcl$cnq$1 AT sea DOT gmane DOT org> <55A7500C DOT 4AB705E2 AT mail DOT gmail DOT com>
Mime-Version: 1.0
X-Complaints-To: usenet AT sea DOT gmane DOT org
X-Gmane-NNTP-Posting-Host: 12.9.207.201
User-Agent: Mozilla Thunderbird 0.5 (Windows/20040207)
In-Reply-To: <55A7500C.4AB705E2@mail.gmail.com>

--------------050209010602000004090905
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit

Joshua Daniel Franklin wrote:

>On Thu, 6 May 2004 14:37:29 +0800, kalmen <kalmen AT tm DOT net DOT my> wrote:
>  
>
>>I am not familiar with compilation under cygwin , but i need the php for
>>testing most of the
>>LAMP application in cygwin , before deploy into the linux box , therefore i
>>need to try to
>>build the php and mod_php myself.
>>where can i find information for building the php ? Steps , requirements and
>>docs ?
>>    
>>
>
>You can find what the Cygwin package maintainer has here:
>
>http://apache.dev.wapme.net/support/cygwin-packages/apache-modules/mod_php4/
>
>Use the README file to find out what the build requirements are.
>
>You also might be able to build the latest from source, I haven't
>tried it and don't know if it works or not.
>
>  
>
Well I went to that URL and downloaded 
http://apache.dev.wapme.net/support/cygwin-packages/apache-modules/mod_php4/apache-php-4.2.0-2.tar.bz2, 
bunzip2 and untarred it and ran the postinstall (after first commenting 
out the last line which is an rm which assumes that the preceeding line, 
the rebase, doesn't fail):

$ /etc/postinstall/apache-php.sh
[activating module `php4' in /etc/apache/httpd.conf]
cp libphp4.dll /usr/lib/apache/libphp4.dll
chmod 755 /usr/lib/apache/libphp4.dll
cp /etc/apache/httpd.conf /etc/apache/httpd.conf.bak
cp /etc/apache/httpd.conf.new /etc/apache/httpd.conf
rm /etc/apache/httpd.conf.new
usage: rebase -b BaseAddress [-Vdv] [-o Offset] [-T FileList | -] Files...

After this I cannot start Apache. Running a syntax check:

$ httpd -t
Syntax error on line 238 of /etc/apache/httpd.conf:
Cannot load /usr/lib/apache/libphp4.dll into server: dlopen: Win32 error 126

-- 
Question: Why do people always seem to find things in the last place 
that they look? Answer: Because most people stop looking after they find it!
-- 
Nebraska: At least the cows are sane.

--------------050209010602000004090905
Content-Type: text/x-vcard; charset=utf8;
 name="Andrew.vcf"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename="Andrew.vcf"

begin:vcard
fn:Andrew DeFaria
n:DeFaria;Andrew
adr:;;2800 Madison Avenue C5;Fullerton;California;92831-2213;United States
email;internet:Andrew AT DeFaria DOT com
tel;work:714-541-9960x5428
tel;fax:714-577-0618
tel;home:714-577-0618
x-mozilla-html:TRUE
url:http://defaria.com
version:2.1
end:vcard



--------------050209010602000004090905
Content-Type: text/plain; charset=us-ascii

--
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/
--------------050209010602000004090905--

- Raw text -


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