• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

Enable PHP for web user

P

PlymWS

Guest
I have created a web user which has generated a directory in the web_users folder. I have uploaded files to this directory but when I try and view a php file my browser tries to download it. I suspect that php needs to be enabled for the web user.

However when I created the web user and when I try and edit the web user the option checkbox to enable PHP support is not selectable ( greyed out ). I am logging into the Plesk panel (9.2) with the admin account so I should be able to enable php for this user.

I've obviously missed a setting somewhere. Please could someone tell me whihc one :).

Thanks.
 
Just go to Preferences for Web users and select 'Allow usage of scripts to the web users' there. After that you will be able select PHP for new Web user.
 
Back
Top