• Please be aware: Kaspersky Anti-Virus has been deprecated
    With the upgrade to Plesk Obsidian 18.0.64, "Kaspersky Anti-Virus for Servers" will be automatically removed from the servers it is installed on. We recommend that you migrate to Sophos Anti-Virus for Servers.
  • The Horde webmail has been deprecated. Its complete removal is scheduled for April 2025. For details and recommended actions, see the Feature and Deprecation Plan.
  • We’re working on enhancing the Monitoring feature in Plesk, and we could really use your expertise! If you’re open to sharing your experiences with server and website monitoring or providing feedback, we’d love to have a one-hour online meeting with you.

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