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
Navigation:
[Reply to this message]
|