• 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

Resolved PHP-Problem with creating new Domain

Axel Rosenbauer

New Pleskian
Good morning,

i have a php problem with creating a new domain.
When i do this the item "php settings" doesn't exist in the new domain!!! So I have to start Putty and run this command:

/opt/psa/bin/subscription -u newdomain.com -php true

After this the item "php settings" exists, but I can't change the php version(you see this in the screenshot)!
I have installed more php versions including V7 which I want to use.

Also curious is that a .htaccess with "AddHandler application/x-httpd-php7 .php" doesn't work!

Does somebody have a similar problem and a solution for me?
 

Attachments

  • Unbenannt-1.jpg
    Unbenannt-1.jpg
    447.8 KB · Views: 1
Make sure that "PHP version and handler management" permission is enabled for your subscription and in corresponding Service Plan.
 
Back
Top