Unable to load extensions
Posted: Thu Jun 02, 2005 3:29 pm
I think I botched my install. Way back when, I installed PHP 4.3.6 using the installer. Of course, that means I didn't get any extensions. I need curl. So, I tried doing a manual install of 4.3.11 by simply copying the new files into the C:\php folder. I checked my IIS config and the ISAPI stuff is set correctly.
General PHP works, but I get an error that it's unable to load the curl extension dll--it says it can't find the file, but the file is there.
Check out this screenshot:

You can see the file right there above the error dialog and see that it's in the correct path by looking at the address bar.
This is part of my php.ini:
; Directory in which the loadable extensions (modules) reside.
extension_dir = C:\php\extensions
...
;Windows Extensions
extension=php_curl.dll
...
I've rebooted, restarted the WWW service, tried many variations on the php.ini syntax, like
extension_dir = C:\php\extensions\
extension_dir = c:\php\extensions
extension_dir = C:\PHP\extensions
extension_dir = C:\\php\\extensions\\
...etc.
I've added c:\php\extensions to my Windows PATH and added the PHPRC environment variable pointing to c:\php.
Suggestions?
Thanks,
Tim
General PHP works, but I get an error that it's unable to load the curl extension dll--it says it can't find the file, but the file is there.
Check out this screenshot:

You can see the file right there above the error dialog and see that it's in the correct path by looking at the address bar.
This is part of my php.ini:
; Directory in which the loadable extensions (modules) reside.
extension_dir = C:\php\extensions
...
;Windows Extensions
extension=php_curl.dll
...
I've rebooted, restarted the WWW service, tried many variations on the php.ini syntax, like
extension_dir = C:\php\extensions\
extension_dir = c:\php\extensions
extension_dir = C:\PHP\extensions
extension_dir = C:\\php\\extensions\\
...etc.
I've added c:\php\extensions to my Windows PATH and added the PHPRC environment variable pointing to c:\php.
Suggestions?
Thanks,
Tim