Plesk

How to install PHP by OS vendor in Plesk for Linux

Question

How to install PHP by OS vendor?

Answer

Install PHP by OS vendor using Plesk Installer:

 

If PHP by OS vendor is marked as installed in Plesk Installer, but was manually removed from a server with CentOS/RHEL-based distribution, install it manually using this SSH command:

# yum install php php-fpm php-gd php-imap php-mbstring php-mysql php-pdo php-xml -y

Note: On CentOS 8 and AlmaLinux, replace php-mysql with php-mysqlnd.

Exit mobile version