Enabling/installing GD extension? --without-gd

后端 未结 9 754
刺人心
刺人心 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:29

    For php7.1 do:

    sudo apt-get install php7.1-gd
    

    and restart webserver. For apache do

    sudo service apache2 restart
    

提交回复
热议问题