리눅스맨

PHP Dynamic Extension for AWS EC2 for WordPress

PHP Dynamic Extension for AWS EC2

the php module imagick is missing.

 

PHP modules perform most of the tasks on the server that make your site run. Any changes to these must be made by your server administrator.

The WordPress Hosting Team maintains a list of those modules, both recommended and required, in the team handbook (opens in a new tab).

Warning The optional module, bcmath, is not installed, or has been disabled.
Warning The optional module, imagick, is not installed, or has been disabled.
Error The required module, gd, is not installed, or has been disabled.

 

선택모듈 imagick가 설치되어 있지 않거나 사용할 수 없습니다.
오류 필수모듈 gd가 설치되어 있지 않거나 사용할 수 없습니다.

 

아래처럼 따라하면 Imagick 모듈을 사용할 수 있습니다.

 

sudo amazon-linux-extras enable php7.4

sudo yum clean metadata

sudo yum -y install php-cli php-pdo php-fpm php-json php-mysqlnd php-xml php-mbstring php-soap php-gd
sudo yum -y install php-pear php-devel gcc php-bcmath
sudo yum -y install ImageMagick ImageMagick-devel ImageMagick-perl
sudo pecl install imagick
sudo chmod 755 /usr/lib64/php/modules/imagick.so

 

Add ‘extension=imagick.so‘ to the Dynamic Extensions section of the file

sudo vi /etc/php.ini

게시됨

카테고리

,

작성자

태그: