• 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.

Servus

Basic Pleskian
Hello. Since PHP by vendor (ubuntu) upgrade to 7.0.22 mpm event was automatically changed to "prefork" during upgrade in shell. I use "only" nginx without apache (no reverse proxy) by all of my websites, with this setting php 7.1.18 is served by nginx.
PHP 7.0. module in apache setting is "NOT" checked since I use Ubuntu 16.04. (also before at the time I used php 7.x.x FPM served by apache and apache with nginx as reverse proxy).
1. Is it really correct that module PHP 7.0 is not checked in Apache settings? In other words perhaps: When is it necessary to activate module PHP? (not to give customers this option as another possible handler, but for security and server performance and security reasons)
In plesk docus I wonder every time I read that websites services won't work, e.g. webmail or perl scripts if module php is not activated in apache settings. (also in my php handler settings I haven't activated the whole package PHP 7.0.22 by OS vendor).

2. related question
: Since PHP by vendor was upgraded to 7.0.22 the old php version is already displayed.
Is there a possibility to update the displayed version to the real installed version?

Plesk_PHP_Handler.jpg
 
Last edited:
Hi @Servus,
I can only answer your 1. question:
By the amazing help of @UFHH01 and also @IgorG for the further explanation of PHP version in PHPMyAdmin I can thankfully link this tutorial to you, because I had the same question a few months before:
List and Update PHP handler by OS vendor (little tip from myself: leave the brackets with (default) out, otherwise you have it in your handlers list) :p

To question 2. I'm also interested in, because in my apache settings is also PHP module not checked/activated and I want to know what to do, or nothing.
 
Thank you all for this.
Please, can someone help me what to do with PHP module 7.0 in apache settings?




Plesk_PHP_Handler .jpg
 
Hi Servus,

if your question is, how to enable disabled PHP - handlers, the answer would be:

Identify the corresponding "ID" for your PHP - handler
Code:
plesk bin php_handler --list

Enable a PHP - handler:
Code:
plesk bin php_handler --enable -id cgi

Disable a PHP - handler:
Code:
plesk bin php_handler --disable -id cgi

See the HELP documentation over the command line, in order to inform yourself about possible command options:
Code:
plesk bin php_handler --help
or read the depending Plesk documentation about it:​

 
Hello UFHH01!
Thank you for help and instructions. I already read the plesk instructions and some basics about php handlers. For me is only interesting about the fuctionality of plesk and perhaps services. For example I wanted to run redis or another kind of cache. Do I need mod_php for it? or this question is very very important for me: Do I need php as apache module for better performance together with other php handlers? Most important about php as apache module are security things.
For me is interesting, what You would suggest?
Do you run it, if so, for which sense?
I don't run it, I use FPM handlers for webhosting. But I mean could it be better to run it for some reasons? MPM is inolved.
Otherwise I don't know why it is already useable. Only for the reason running apache standalone without nginx for example.
Sorry to ask about simple thing like that, in earlier years I had activated it, but this were other times without the great progress which was made with PHP.

Kind regards
 
Hi Servus,

For me is only interesting about the fuctionality of plesk
Plesk itself has its very own webserver ( sw-cp-server ). Your webserver configurations ( apache and/or nginx ) are only relevant for your hosted domains and their content. ;)

For example I wanted to run redis or another kind of cache. Do I need mod_php for it?
No, you don't need "mod_php" and it is declared to be insecure by now, which is the reason why the current, default setting is now => disabled

For me is interesting, what You would suggest?
I suggest the very same, as Plesk: Pls. disable this PHP - Handler, as it is insecure.
 
Back
Top