Do you have a question? Post it now! No Registration Necessary. Now with pictures!
- Posted on
- [Windows] php-cgi.exe can't find extension
December 3, 2012, 1:49 pm
rate this thread
I have the following minimalist PHP 5.4.8 setup for Windows:
Here's the two lines I edited in php.ini:
//extension_dir = ".\"
extension_dir = "./"
Still, when running "php-cgi.exe dummy.php" in a DOS box, PHP can't
locate the php_gd2.dll extension:
PHP Warning: PHP Startup: Unable to load dynamic library
'./php_gd2.dll' - The specified module could not be found.
in Unknown on line 0
Do I need to edit php.ini further, or am I missing some binaries?
Re: [Windows] php-cgi.exe can't find extension
Are you sure you're changing the right php.ini file? What does
phpinfo() show you (both for the configuration file being used and the
Remove the "x" from my email address
JDS Computer Training Corp.
- » when receiving the mail(php mail function), the variable's last value is getting converted...
- — Previous thread in » PHP Scripting Forum