delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2006/08/11/17:05:05

X-Spam-Check-By: sourceware.org
Message-ID: <44DCF0D2.6040301@x-ray.at>
Date: Fri, 11 Aug 2006 23:04:18 +0200
From: Reini Urban <rurban AT x-ray DOT at>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de-AT; rv:1.8.0.6) Gecko/20060729 SeaMonkey/1.0.4
MIME-Version: 1.0
To: cygwin AT cygwin DOT com
Subject: Re: Cannot load libphp4.dll into server: Permission denied (Cygwin)
References: <44DCD966 DOT 8070300 AT virgin DOT net>
In-Reply-To: <44DCD966.8070300@virgin.net>
X-IsSubscribed: yes
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

Brett Graham schrieb:
> I posted this message to the php and Apache newsgroups, without response.

So it's up to the specialists now :)

> I was wondering if anyone can shed any light on this problem.  When I
> configured and built PHP4 on Cygwin with gd, jpeg, and zlib it makes
> fine but I get the following error when I try to start apache:
> 
> Syntax error on line 239 of /etc/apache/httpd.conf:
> Cannot load /usr/lib/apache/libphp4.dll into server: Permission denied
> /usr/sbin/apachectl start: httpd could not be started
> 
> It was ok when I did a build without gd, jpeg, and zlib.
> 
> cygcheck gives the following:
> C:\cygwin\bin\cygcrypt-0.dll
>   C:\cygwin\bin\cygwin1.dll
>     C:\WINDOWS\System32\ADVAPI32.DLL
>       C:\WINDOWS\System32\ntdll.dll
>       C:\WINDOWS\System32\KERNEL32.dll
>       C:\WINDOWS\System32\RPCRT4.dll
> C:\cygwin\bin\cygpng12.dll
>   C:\cygwin\bin\cygz.dll
> C:\cygwin\bin\cygminires.dll
> C:\cygwin\bin\libhttpd.dll

This makes me wonder: Why a libhttpd dependency for libphp4 for the 
apache sapi? Looks like a libhttpd sapi build to me.

cygcheck is not enough for php. Did you also check all the perms for the 
dynamically loaded extensions loaded via php.ini? dlload()'ing those 
will also need the "x" perm.

> All these have 777 permissions (except the System32 ones, which I didn't
> check).
> It seems to happen when I try to build with jpeg.
-- 
Reini

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