Saturday, March 04, 2023

Alicloud CentOS 9 PHP 8.1 WordPress installation and related commands

 Manually deploy an LNMP environment on a CentOS 8 instance


Manually build a WordPress website on an ECS instance that runs CentOS 8


at the time of this blog, if you follow 


you will not be able to install php-imagick extension of PHP 8.1

So follow the next one, use remi-php 8.1, then you'll be able to install all extensions.



commands might be handy


vim /etc/php-fpm.d/www.conf

vim  /usr/local/nginx/conf/nginx.conf

vim conf/vhosts/www.wc668.com.conf

sudo php-fpm -t

sudo systemctl restart php-fpm

sudo systemctl restart nginx


 ps -eo user,group,args | grep "php-fpm"

 ps -eo user,group,args | grep "nginx"