[thelist] [PHP] Apache cannot load curl?
Maximillian Schwanekamp
lists at neptunewebworks.com
Wed Aug 3 11:55:17 CDT 2005
Just got a new notebook running Win XP, and I've just now setup Apache 2
and PHP 4.4 (not 5, because my work is using 4). Everything seems to be
fine, except when I un-comment any of the dynamic extensions lines in
php.ini, Apache gives me a "could not load" error. The extensions path
in php.ini looks like this:
; Directory in which the loadable extensions (modules) reside.
extension_dir = "C:\php\extensions"
This is indeed the correct path. But when, for example, I attempt to
enable curl by uncommenting so that I have this line:
extension=php_curl.dll
When restarting Apache, I get this error:
Unknown(): Unable to to load dynamic library
'C:\php\extensions\php_curl.dll' - The specified module could not be found.
Other than this, PHP seems to be working fine. Can someone hit me
upside the head with a trout and tell me what I've missed?
For the sake of completeness, my httpd.conf has these lines to enable php:
########## PHP #############
LoadModule php4_module "c:/php/php4apache2.dll"
AddType application/x-httpd-php .php
PHPIniDir "C:/php"
--
Max Schwanekamp
http://www.neptunewebworks.com/
More information about the thelist
mailing list