FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » [Windows] php-cgi.exe can't find extension
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
[Windows] php-cgi.exe can't find extension [message #179749] Mon, 03 December 2012 13:49 Go to previous message
Gilles Ganault is currently offline  Gilles Ganault
Messages: 27
Registered: September 2010
Karma:
Junior Member
Hello

I have the following minimalist PHP 5.4.8 setup for Windows:

php-cgi.exe
php.ini
php5.dll
php_gd2.dll
dummy.php

Here's the two lines I edited in php.ini:

//extension_dir = ".\"
extension_dir = "./"
....
extension=php_gd2.dll

Still, when running "php-cgi.exe dummy.php" in a DOS box, PHP can't
locate the php_gd2.dll extension:
=====================
C:\Projects\Php\dummy>php-cgi.exe dummy.php
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?

Thank you.
[Message index]
 
Read Message
Read Message
Read Message
Previous Topic: file being saved causes fatal error.
Next Topic: must I close mysql_connect?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Nov 22 18:16:52 GMT 2024

Total time taken to generate the page: 0.03946 seconds