delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/04/08/12:43:12

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
X-Injected-Via-Gmane: http://gmane.org/
To: cygwin AT cygwin DOT com
From: Javier J <fjpp AT softhome DOT net>
Subject: Re: apache php4 error: dlopen: Win32 error 193
Date: Tue, 08 Apr 2003 18:40:51 +0200
Lines: 62
Message-ID: <b6uu1n$g45$1@main.gmane.org>
References: <000b01c2fced$98850ba0$9267bba3 AT fischerpcsrv>
Mime-Version: 1.0
X-Complaints-To: usenet AT main DOT gmane DOT org
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.3b; MultiZilla v1.4.0.3G) Gecko/20030315
X-Accept-Language: en, en-us
In-Reply-To: <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/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019