• 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

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