PHP, Apache and Cygwin
| From: | Bruno Barberi Gnecco | Date: | Fri, 04 Mar 2005 15:23:12 +0000 |
| Subject: | PHP, Apache and Cygwin | ||
| Groups: | php.windows | ||
| Request: | Send a blank email to php-windows+get-25714@lists.php.net to get a copy of this message | ||
I've been trying to run PHP with Apache under cygwin. I'm
using Apache 1.3.29, and php 5.0.3. When I try to run apache
(with php configured as a module), I get the following error:
$ apachectl restart
/usr/sbin/apachectl restart: httpd not running, trying to start
Syntax error on line 238 of /etc/apache/httpd.conf:
Cannot load /usr/share/php-5.0.3-Win32/php5apache.dll into server: dlopen, Win32 error 126
/usr/sbin/apachectl restart: httpd could not be started
Using "cygcheck
cygpath -w php5apache.dll" I get an
error saying that ApacheCore.dll can't be found. There is no
ApacheCore.dll in either the apache package or PHP. Any ideas
of what may be wrong?
PHP works fine on the command line.
Thanks a lot,
--
Bruno Barberi Gnecco