• 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

Forwarded to devs Can't change PHP version on subdomains

Xopez

New Pleskian
TITLE:
Can't change PHP version on subdomains
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE:
Product: Plesk
OS: ‪Ubuntu 16.04.5 LTS‬
Produkt: Plesk Onyx 17.8.11 Update Nr. 35
architecture: amd64
PROBLEM DESCRIPTION:
Hello,
I want to refer to the problem which I mentioned already here:
Resolved - Can't change PHP handler

I try to explain it.
I wanted to change PHP from 7.2 to 7.3 which was released via Plesk. So I installed it normally via the Plesk Package Manager where you can add components. Then I started to switch the version from 7.2-fpm to 7.3-fpm. On the main domain it worked fine. But all of my subdomains are showing this:
upload_2018-12-17_22-47-37-png.15129


I thought some handlers were broken. But it doenst seem so.
upload_2018-12-17_22-49-9-png.15131


The repair-kit didn't find any problems or warnings.

With this command mentioned in the referred thread I could change the PHP-Version over CLI.
Code:
# plesk bin subscription -u rank.mightful-noobs.de -php_handler_id plesk-php73-fpm
SUCCESS: Update of domain 'rank.mightful-noobs.de' completed.

Another screenshot so you can see it is working on the main domain.
upload_2018-12-17_22-50-48-png.15132
STEPS TO REPRODUCE:
- Don't know how the problem was caused.​
ACTUAL RESULT:
Can't change PHP-Handler on subdomains​
EXPECTED RESULT:
Can change PHP-Handler over Plesk​
ANY ADDITIONAL INFORMATION:
I am using Apache as Webserver. Nginx is not installed.
Apache Version info:
Server version: Apache/2.4.18 (Ubuntu)
Server built: 2018-06-07T19:43:03

I attached a ZIP generated from Tools & Settings → Support
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM:
Help with sorting out
 

Attachments

  • mid3Ch5fP.zip
    536.8 KB · Views: 1
Last edited:
  • Like
Reactions: Hex
Looks like this problem already described in our KB - PHP support cannot be enabled for one domain in Plesk when nginx service is stopped

You just have disabled 'nginx proxy mode' for subdomain.
I suppose that your possible STR are:
  • disable nginx proxy mode for subdomain
  • remove nginx
  • try to manage php version for subdomain
How to fix:

# plesk bin subscription --update-web-server-settings subdomain.tld -nginx-proxy-mode true
 
Back
Top