Reply to Call php server to interpret the script

Your name:

Reply:


Posted by Don on 02/19/06 15:37

Hi,

I did a php script and tested with the browser by giving the full path
of script as URL under a domain name (ex :
http://www.AAA-tech.com/TEST/myScript.php), it works fine.
Then I launched the same script on the same machine (OS:Free BSD) by
typing :

cd ../public/www/TEST
/usr/local/bin/php myScript.php

the result :
<b>Warning</b>: imagecopyresampled(): requires GD 2.0 or later in
<b>/web/Xv/Xe/Xm/AAA-tech.com/public/www/TEST/myScript.php</b> on line
<b>80</b><br />

<b>Fatal error</b>: Call to undefined function: imagegif() in
<b>/web/Xv/Xe/Xm/AAA-tech.com/public/www/TEST/myScript.php</b> on line
<b>86</b><br />

Apparently, the interpretor /usr/local/bin/php is not the same version
as php server.

My question is :
How can I launch my php script by calling the php server to interpret it
correctly?

Thank you in advance

Don

[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

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