FRIHOST FORUMS SEARCH FAQ TOS BLOGS COMPETITIONS
You are invited to Log in or Register a free Frihost Account!


GD Library...





salman_500
hey,

i need this add-on or watever they call it set-up on my php...i dunno if its already ther...but most probably it doesn't exist...

i never installed anything on php before so the files are original.....

if someone can, plz send me a zip file containing the modified files and additional files...... i will really appreciate it....

i use php 4.3 .........

i thought of this when i got this error while trying to use a thumb generation script....

Fatal error: Call to undefined function: imagecreatetruecolor() in C:\Program Files\Apache Group\Apache2\htdocs\Solo


dunno what it actually means....... Embarassed Razz

thnx !!
hexkid
salman_500 wrote:
Fatal error: Call to undefined function: imagecreatetruecolor()


Stop your webserver.

Find your php.ini file (use phpinfo() to make sure you're editing the right one) and uncomment the gd line.
My php.ini looks like this
Code:
...
;extension=php_fdf.dll
;extension=php_filepro.dll
extension=php_gd2.dll
;extension=php_gettext.dll
;extension=php_ifx.dll
...


Restart your webserver.

Hopefully that will work. If it doesn't, read the PHP manual page for the gd stuff (Image Functions) or, maybe better, upgrade your PHP and try again.
salman_500
hey...


my config also shows it that way..... but i still cant run functions like this....

imagecreatetruecolor()


so that means the php does not has the files that define the data...so can some1 plz tell me of an automatic installer of gd library ..

thnx !! Embarassed
Related topics
GD-library header probs
PHP Toturail
How To : Secure Your PHP Website
Dynamic PHP Images
How do you show HTML/PHP code on your website?
GD or ImageMagick Support?
Does frihost has GD installed?
Does somones use GD library?
GD library?
GD and XS Mod
Having a prob with GD library
url access and gd-library?
GD library
Captcha: GD Library
Reply to topic    Frihost Forum Index -> Scripting -> Php and MySQL

FRIHOST HOME | FAQ | TOS | ABOUT US | CONTACT US | SITE MAP
© 2005-2011 Frihost, forums powered by phpBB.