Articles in this section

How to install PHP by OS vendor in Plesk for Linux

kb: how-to Plesk for Linux ABT: Group B

Applicable to:

  • 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.

Was this article helpful?

Comments

0 comments

Please sign in to leave a comment.