Enabling/installing GD extension? --without-gd

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

    All previous answers are correct but were not sufficient for me on ArchLinux. I also needed to edit /etc/php/php.ini and to uncomment :

    ;extension=gd.so 
    

    The initial ; on the line needs to be removed. After restarting Nginx via systemctl restart nginx, I was good to go.

提交回复
热议问题