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