Failed to install Mod_cURL under Windows/Apache
| From: | DL Neil | Date: | Fri, 06 Dec 2002 20:44:20 +0000 |
| Subject: | Failed to install Mod_cURL under Windows/Apache | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-127326@lists.php.net to get a copy of this message | ||
PHP v4.2.3 with Apache 1.3.24 under Win2000 Prof SP2
Downloaded the full v4.2.3 zip package/Win binary, some weeks ago.
Installation went fine. Extensions are happily included. Have had several
weeks of operations.
Decided to install cURL to do some URL (strangely enough) link
verification-checking. Started at manual: XII. CURL, Client URL Library
Functions
with sent me to http://curl.haxx.se and in turn
http://curl.haxx.se/libcurl/php/
Downloaded curl-7.10.2-win32-nossl which (really) only contains CURL.EXE. I
cannot see any instructions telling me what to do with this/where to put
it!? Moved it to the same location as PHP.EXE. It runs happily from the
command line (so that's something!)
Moved both the .dlls around, checked the MVC file, and uncommented the
PHP.INI line - and verified it with PHPINFO().
However when a PHP script (copied straight off the PHP manual) calls
curl_init () it causes Apache to crash: "Apache.exe has generated errors and
will be closed by Windows. You will need to restart the program. An error
log is being created."
- restarting the Apache service and re-running results in the same error
- rebooting the whole system and re-running also.
- the v-server's error log shows nothing and the access log only shows the
PHPINFO() mentioned
- there's nothing in the Windows Event log
- I can't figure out where this "error log" is created
Help! I've missed something...
=dn