This is the mail archive of the
cygwin@cygwin.com
mailing list for the Cygwin project.
Re: apache php4 error: dlopen: Win32 error 193
- From: Javier J <fjpp at softhome dot net>
- To: cygwin at cygwin dot com
- Date: Tue, 08 Apr 2003 18:40:51 +0200
- Subject: Re: apache php4 error: dlopen: Win32 error 193
- References: <000b01c2fced$98850ba0$9267bba3@fischerpcsrv>
Hi!
I am running into the same problem here.
I have tried the classical answers:
- re-running /etc/postinstall/apache-php.sh.done (and it _seems_ that
it's working properly, it re-bases the dlls):
cohen at lazarus /etc/postinstall
$ ./apache-php.sh.done
[activating module `php4' in /etc/apache/httpd.conf]
cp libphp4.dll /usr/lib/apache/libphp4.dll
cp: cannot stat `libphp4.dll': No such file or directory
apxs:Break: Command failed with rc=1
C:\cygwin\lib\apache\libphp4.dll: new base = 67ec0000, new size = 140000
C:\cygwin\bin\cygbz21.0.dll: new base = 67e90000, new size = 30000
C:\cygwin\bin\cygcrypto.dll: new base = 67dd0000, new size = c0000
C:\cygwin\bin\cygintl-1.dll: new base = 67db0000, new size = 20000
C:\cygwin\bin\pq.dll: new base = 67da0000, new size = 20000
C:\cygwin\bin\cygxml2-2.dll: new base = 67d00000, new size = a0000
C:\cygwin\bin\cygz.dll: new base = 67cd0000, new size = 30000
and then, I do:
$ /usr/sbin/apachectl start
Syntax error on line 238 of /etc/apache/httpd.conf:
Cannot load /usr/lib/apache/libphp4.dll into server: dlopen: Win32 error 193
/usr/sbin/apachectl start: httpd could not be started
I've done some googling and it seems that Win32 error 193 means it's not
a valid W32 image?
Also, if I comment-out the php-related LoadModule and AddModule
directives, and add the mod_ssl related ones, then I get another
(hopefully, unrelated) error:
cohen at lazarus /etc/postinstall
$ /usr/sbin/apachectl start
C:\cygwin\usr\sbin\httpd.exe: *** unable to remap
C:\cygwin\bin\cygssl.dll to same address as parent(0xB10000)
!= 0xB20000
/usr/sbin/apachectl start: httpd could not be started
Any ideas of _why_ this might be happening?
Javier
On this day, 07/04/2003 12:08, Thomas V. Fischer wrote:
Hey all,
I have tried everything in the list archive but I am still getting error 193
after having installed apache and php_mod.
Rebaseall didn't work. I even reinstalled my whole cygwin installation.
Please help!
Thomas
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/