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 Message-ID: <000001c2201c$6383f280$b8594ed5@thinker> From: "Grant Kaufmann" To: Subject: Solution to issue with apache and mod_php4 Date: Sun, 30 Jun 2002 02:21:09 +0100 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.2600.0000 Using apache-php-4.2.0-1 and apache-1.3.24-5, I ran into a problem whereby Apache wouldn't run with php being LoadModule and AddModule'ed. The error message on "apachectl start" (or just running httpd) was: Cannot load /usr/lib/apache/libphp4.dll into server: dlopen: Win32 error 126 I ran DependancyWalker (http://www.dependencywalker.com/), which showed that /usr/lib/apache/libphp4.dll had a missing dependancy of "cygbz21.0.dll". I saw that there was a "/bin/cygbz2-1.dll", so I just ran: "cp /bin/cygbz2-1.dll /bin/cygbz21.0.dll", and everything seemed to worked. So it looks like the PHP DLL was linked against a cygbz2 DLL with a different name. It looks like the PHP is working now, but I haven't tested any bz2 routines from within PHP, so couldn't be certain. -- Grant -- 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/