• Our team is looking to connect with folks who use email services provided by Plesk, or a premium service. If you'd like to be part of the discovery process and share your experiences, we invite you to complete this short screening survey. If your responses match the persona we are looking for, you'll receive a link to schedule a call at your convenience. We look forward to hearing from you!
  • We are looking for U.S.-based freelancer or agency working with SEO or WordPress for a quick 30-min interviews to gather feedback on XOVI, a successful German SEO tool we’re looking to launch in the U.S.
    If you qualify and participate, you’ll receive a $30 Amazon gift card as a thank-you. Please apply here. Thanks for helping shape a better SEO product for agencies!
  • The BIND DNS server has already been deprecated and removed from Plesk for Windows.
    If a Plesk for Windows server is still using BIND, the upgrade to Plesk Obsidian 18.0.70 will be unavailable until the administrator switches the DNS server to Microsoft DNS. We strongly recommend transitioning to Microsoft DNS within the next 6 weeks, before the Plesk 18.0.70 release.
  • The Horde component is removed from Plesk Installer. We recommend switching to another webmail software supported in Plesk.

Resolved Problems with PHP after updating Plesk

Thomas Krcal

New Pleskian
Hello.
I updated Plesk from any older version to Version 17.0.17 Update #63
My OS is Ubuntu 12.04.5 LTS‬

After sucsessfuly updated Plesk I added PHP7.1.26 with Plesk updater.

Now, when I create a new Host or try to switch to PHP7 modifying any PHP Settings, the Page will not be executed it will be offered to download by the browser.
But in all existing Hosts PHP it still be executed normaly only until I change any php settings.

I still read a lot articles and try to fix with them with no sucsess:
PHP files are downloaded instead of executing
PHP pages are downloaded instead of being opened
Resolved - One domain downloads php files instead of executing them

I think it should be something with the PHP-Handler.
I only have the option FastCGI as PHP-Handler and FPM is missing as PHP-Handler option.

Any Ideas ?
 
Did you make sure that your script is not using short open tags OR that you have allowed short open tags in the configuration of PHP?
 
Hello.
I updated Plesk from any older version to Version 17.0.17 Update #63
...
I only have the option FastCGI as PHP-Handler and FPM is missing as PHP-Handler option.

I would like to focus on these two statements.

a) Was the update completed without any errors? You can find several logs in
/var/log/plesk/install, for example /var/log/plesk/install/autoinstaller3.log and /var/log/plesk/install/plesk_17.0.17_installation.log
In any case, please make sure that Plesk realizes that components have changed by going to Tools & Settings > Server Management > Server Components > click the "Refresh" icon.

b) Is the PHP-FPM service activated? Tools & Settings > General Settings > PHP Settings. The Service must show a green dot. If it does not, can you activate it?
 
In the logfiles I could not find any error.
It seems, the update was done correct.

Is the PHP-FPM service activated?
Is not avaliale as the php hanlder in the php selection drop down for each domain,
but it os avtivated at Tools & Settings > General Settings > PHP Settings
 
Does the output of
# plesk bin php_handler --list
include the PHP-FPM handler that is missing from the GUI?
 
It's more or less pointing to
PHP-FPM is absent after failed microupdate
which you said you worked through.
- PHP-FPM is installed and running
- The handler is correctly set
- You did refresh the components
- You reinstalled the micro-updates
- You set the handler in the subscription manually as recommended by the article
yet it does not work? Not possible. --> You need to open a support ticket, so that they can investigate it on your machine.
 
Ah, then it is this article that applies:
The handler "FPM application served by Apache" is not available in the drop-down list in PHP Settings

Your Apache server is incompatible with PHP-FPM. It came with Ubuntu 12.x. You will probably need to upgrade the whole OS. However, an in-place upgrade with a running Plesk installation is not recommended (as far as I remember), it will likely break Plesk. It is probably better to create a full backup of Plesk including all websites and configurations, then reinstall the server with a more modern OS and restore the (Plesk) backup to it. Or install a newer system and migrate the settings and installation content to it.
 
Back
Top