Amazon EC2 - PHP GD image library

后端 未结 4 1932
南方客
南方客 2021-02-19 11:52

I\'ve got a brand new install of WordPress setup and activated a custom-built theme along with a good amount of plugins. In the posts, I have built it so the user can create a p

4条回答
  •  故里飘歌
    2021-02-19 12:15

    to avoid compatibility problems first do:

    php --version
    

    to know your php version

    the answer is something in the form PHP X.Y.Z

    so you have to take X, Y and do:

    sudo yum install phpXY-gd
    

    for instance if php --version says PHP 5.5.26

    you will do:

    sudo yum install php55-gd
    

提交回复
热议问题