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

Issue PHP handler version change is ignored on one domain

gennolo

Basic Pleskian
Hi all,

I am encountering a strange behaviour on a configured domain,
where , even by changing the PHP handler version and applying settings , it continues to run by the
OS PHP version (5.4) with configuration loaded from /etc/php.d instead of /opt/ custom Plesk package (I can see it by loading a phpinfo file into the root of the domain).

Note that this behaviour is appearing only on one domain (and related subdomains),
I see from Plesk interface that settings are took correctly but

Note that restarting services (httpd / nginx / plesk-php56-fpm ) and/or launching a httpdmng --reconfigure have no effect.

I have no idea how to troubleshoot this issue (bug ? misconfiguration ?) so any help in pointing me which logs I have to check is really appreciated.

Thank you.
 
What sort of errors you will see on output of CLI command like:

# plesk bin subscription -u domain.com -php_handler_id plesk-php70-fastcgi

?
 
Code:
# plesk bin subscription -u xxxx -php_handler_id plesk-php70-fastcgi
PHP scripts cannot be processed by nginx if the Plesk CGI or FastCGI handler is selected. Either omit the "-nginx-serve-php" option, or select the PHP-FPM handler.
exit status 1

So I tried...

Code:
# plesk bin subscription -u xxxx -php_handler_id plesk-php70-fpm
SUCCESS: Update of domain 'xxxx' completed.

But even if restarting services and reconfiguring domain ,
PHP version ran by domain is 5.4.45 by OS in FastCGI
 
If I click the " View the phpinfo()" near the 7.0.10 version of that domain ,
I got redirected to the PHP 5.4.45 OS information , so here is the issue.

I just checked and this only happens on ONE domain.
 
I have also checked the "psa" DB , in the hosting table the value is properly set in "plesk-php70-fpm"
for the interested domain - But it works with 5.4.45 - Can't really figure out...


2016-09-22_1712.png
 
Maybe there is some kind of redirection to another site?
 
Website document root is the standard /httpdocs/ and subscription/domain had been set as "website" (like the other working one).
There are no redirections except http to https in .htaccess because of SSL.

Maybe I can try to create another subscription, check if it works properly and move data from the "buggy" one, but I'd really like to troubleshoot this :)
Is there any logfile I can further check / provide to help sorting this issue out ?
 
Back
Top