• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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