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
Re: [Windows] php-cgi.exe can't find extension [message #179751 is a reply to message #179749] Mon, 03 December 2012 16:03 Go to previous messageGo to previous message
Jerry Stuckle is currently offline  Jerry Stuckle
Messages: 2598
Registered: September 2010
Karma:
Senior Member
On 12/3/2012 8:49 AM, Gilles wrote:
> 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.
>

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
loaded extensions)?

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex(at)attglobal(dot)net
==================
[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: Sun Nov 24 12:30:42 GMT 2024

Total time taken to generate the page: 0.03926 seconds