• 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 cannot interpretate/read pages... downloading pages

femotvaff

Regular Pleskian
After removing a ip6 and changed with a shared ip4, and fixed problem with ngnix configuration, php is no more working in 1 subdomain, and browser download php pages instead of "read" them.

I already
- checked handlers.
- Checked handler ( PHP-FPM was enabled)
- Restored old configuration
- Trying Setting mode to "MPM Prefork" from Tool and Setting/Apache setting.

Tried with everything possible.

It is a old custom application on php 5.4
Any suggestion?
Thank you very much
 
What if you switch to a more modern PHP version? Is there the same behaviour?
 
yes same behaviour if I change to a modern php version and
even if I change the handler.

I really cannot understand ...
 
of course I already
- regenerate the configuration of virtual hosts
- tried to stop ngnix
- updated plesk
- checked virtual host configuration
- checked .htaccess (but it was working before, so it has no sense)
 
"Do you have any Additional nginx directives there? " No
I already tried the procedures you suggested, but it is everything updated.
and handler are enabled

And is not working even with Ngnix stopped
 
The problem is not in PHP or HANDLER
but is in the PHP code itself...

It' s strange because it was working from years...
Anyway a different index is read,
so I have to check the problem from here.
 
For some reasons, maybe with plesk updated ? (I think it's the only possibility)
an older version of php was uninstalled.

Thant was the only problem.
 
Back
Top