Mail Archives: cygwin/2003/04/08/13:18:16
Javier,
On Tue, Apr 08, 2003 at 06:40:51PM +0200, Javier J wrote:
> $ /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?
The above is correct:
$ fgrep 193L /usr/include/w32api/winerror.h
#define ERROR_BAD_EXE_FORMAT 193L
What version of Windows are you using? If you are using Me, then the
rebase version distributed with mod_php4 has just corrupted some of your
DLLs. You will need to re-install the packages with the corrupted DLLs
to recover from this situation.
Don't blame me -- blame the Apache maintainer. I have asked him many
times to repackage mod_php4 with rebase removed.
> 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?
Yes, you need to rebase *all* DLLs not just the Apache-related ones.
Install the rebase package, read the README:
http://www.tishler.net/jason/software/rebase/rebase-2.2.README
and then rebase your entire system.
Jason
--
PGP/GPG Key: http://www.tishler.net/jason/pubkey.asc or key servers
Fingerprint: 7A73 1405 7F2B E669 C19D 8784 1AFD E4CC ECF4 8EF6
--
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/
- Raw text -