Reply to Re: How to use php on the command line?

Your name:

Reply:


Posted by Erwin Moller on 01/05/07 15:42

sam wrote:

> Hi,
> But when i started php.exe through commaind line it give me the black
> screen
> and the error showing on it is:
> Unable to load /.php_gd2.dll file
> What this line means please tell me how i configure it or where I can
> find this dll file?

Hi,

That file is the graphcislib of PHP, named GD-lib (version 2 in your case,
which is good).

I expect that you did comment out in php.ini this extension, so PHP tries to
load it, but cannot find it.

But it is hard to help you based on the limitted information you provided.
Some thoughts:

Do you have a good reason to run PHP from commandline?

What does php answer if you:
1) start->run-> type cmd
2) cd to the directory of php.exe
3) type php -?
(gives some information on how to use it)
or 3) type php -v
(gives versionnumber)

The -? will also give you information on how to tell php which php.ini to
use.
Maybe make a fresh one for this application with the GD-libs commented out?

Regards,
Erwin Moller

[Back to original message]


Удаленная работа для программистов  •  Как заработать на Google AdSense  •  England, UK  •  статьи на английском  •  PHP MySQL CMS Apache Oscommerce  •  Online Business Knowledge Base  •  DVD MP3 AVI MP4 players codecs conversion help
Home  •  Search  •  Site Map  •  Set as Homepage  •  Add to Favourites

Copyright © 2005-2006 Powered by Custom PHP Programming

Сайт изготовлен в Студии Валентина Петручека
изготовление и поддержка веб-сайтов, разработка программного обеспечения, поисковая оптимизация