By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,080 Members | 1,817 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,080 IT Pros & Developers. It's quick & easy.

Cannot load libphp4.dll into server: Permission denied (Cygwin)

P: n/a
Hi,

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

All these have 777 permisions (except the System32 ones, which I didn't
check).

Does anyone have any ideas?

Thanks in advance,

Brett Graham
brett [dot] graham [at] virgin [dot] net
www.swampfoetus.net
Aug 10 '06 #1
Share this question for a faster answer!
Share on Google+

This discussion thread is closed

Replies have been disabled for this discussion.