Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , 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-Originating-IP: [12.254.208.112] X-Originating-Email: [mgainty AT hotmail DOT com] From: "Martin" To: "Peter C. Chapin" , References: Subject: Re: Problem with PHP: Win32 error 193 Date: Mon, 21 Apr 2003 09:40:32 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Message-ID: X-OriginalArrivalTime: 21 Apr 2003 15:40:56.0040 (UTC) FILETIME=[6607CE80:01C3081C] see bottom ----- Original Message ----- From: "Peter C. Chapin" To: Sent: Monday, April 21, 2003 8:27 AM Subject: Problem with PHP: Win32 error 193 > > Hello! > > I'm attempting to get PHP4 to work under Apache. Here is what I've done > so far: To get Apache to work at all I needed to run "rebaseall". This > seemed to go without incident and Apache loads and serves pages just > fine. The rest of the system also seems to still be working normally. > > I then enabled the PHP module in the httpd.conf file. The result was an > error during "apachectl start" such as: > > Cannot load /usr/lib/apache/libphp4.dll into server: dlopen: Win32 error 193 > /usr/local/bin/apachectl start: httpd could not be started > > I searched the archive of this list and found some recent messages > pertaining to this problem. However, I didn't find any message > containing a resolution. I understand that the 193 error is supposed to > mean invalid exe format. The advice given to a previous poster was to > reinstall the PHP DLL and try again. He did that and he posted a message > saying that it didn't fix the problem. > > I freshened my install of Cygwin today. This included an updated PHP > module. The install of that (and other updates) seemed to go fine. I > needed to do "rebaseall" again to get Apache to work again but PHP still > fails with the same error as above. Since I just downloaded a fresh (new) > version of the PHP module, it seems as if the root cause might be > something else other than a simple corruption of the PHP DLL. Has this > matter been fully explained yet? > > I'm using Win2k, fully patched (meaning that my updates are current). > Note that I also have the .NET framework installed on this system if > that matters at all. Probably not. > > Peter Peter run cygcheck /usr/lib/apache/libphp4.dll -Martin -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/