trouble installing mod_php4

Chenglim Ear chenglim.ear@openwave.com
Sun Mar 2 18:15:00 GMT 2003


I'm using Windows 2000 and I've successfully installed and started apache on
cygwin.  After I installed the mod_php4 package, I get the following error
when starting apache:

Syntax error on line 236 of /etc/apache/httpd.conf:
Cannot load /usr/lib/apache/libphp4.dll into server: dlopen: Win32 error 193

This is line 263:

LoadModule php4_module        lib/apache/libphp4.dll

I also have:

    AddType application/x-httpd-php .php

Error 193 is:

$ fgrep 193 /usr/include/w32api/winerror.h
#define ERROR_BAD_EXE_FORMAT 193L

Here's the listing of the php lib:

-rwxrwxrwx    1 cear     None      1126912 Mar  2 09:46 libphp4.dll

I've tried rebaseall and manually rebasing all the dlls based on
instructions in:

http://sources.redhat.com/ml/cygwin/2003-02/msg00525.html

Nothing seems to work.  Anybody had this problem before?

Chenglim.



More information about the Cygwin-apps mailing list