Enabling/installing GD extension? --without-gd

后端 未结 9 748
刺人心
刺人心 2020-12-28 11:58

How does one enable (or perhaps I need to install) GD when my phpinfo() output in \"Configure Command\" says; --without-gd ?

I also have nothing in my phpinfo() outp

9条回答
  •  有刺的猬
    2020-12-28 12:20

    If You're using php5.6 and Ubuntu 18.04 Then run these two commands in your terminal your errors will be solved definitely.

    sudo apt-get install php5.6-gd
    

    then restart your apache server by this command.

     sudo service apache2 restart
    

提交回复
热议问题