Fatal error: Call to undefined function: imagecreate()

后端 未结 8 795
难免孤独
难免孤独 2021-02-06 20:59

I\'m trying to put some graphics on a web page and at my prototype at the computer it\'s all working fine at the localhost. But now I uploaded the files to a server and I\'m hav

8条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2021-02-06 21:52

    For Fedora, CentOS

    dnf install php-gd
    systemctl restart httpd.service
    

    On Ubuntu

    apt-cache search php*-gd
    apt-get install php-gd
    systemctl restart apache2.service
    

    Windows users see: http://php.net/manual/en/image.installation.php

提交回复
热议问题