Dave's Brain

Browse - Programming Tips - How can I fixed this php error?: Fatal error: Call to undefined function imagecreate() in myprogram.php on line number

Date: 2010mar26
Language: php
OS: Linux

Q.   How can I fixed this php error?: Fatal error: Call to undefined function imagecreate() in <myprogram>.php on line <number> 

A.  The php-gd library is either missing or not enabled, do:

dnf install php-gd systemctl restart httpd

Add a comment

Sign in to add a comment
Copyright © 2008-2017, dave - Code samples on Dave's Brain is licensed under the Creative Commons Attribution 2.5 License. However other material, including English text has all rights reserved.