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

Resolved PHP not running on IP-address after backup restore

L. Hagen

Basic Pleskian
Hi,

today I noticed a "small" problem. I have some custom PHP-scripts accessed via the IP-address of my server, like
Code:
http://XXX.XXXX.XXX.XXX/logger/
This worked fine in the past, but a couple of weeks ago it was necessary to make a full restore from a backup. After this time I cannot access to theses files anymore.

Whenever I try to access the URL the PHP is not being interpreted, so that I assume that the PHP is not running properly (but the service is running). When I try to access the URL via curl it outputs me the plain PHP code only.

What I'm doing wrong? Is there any setting I missed?


Thanky you for your help.
kind regards,
Lars
 
Is Apache set to MPM-Prefork mode? After a full restore or an upgrade this setting tends to be on "Event" instead of "Prefork". The PHP module might then not be active. When it is set to "Prefork", make sure that the Apache "PHP5" modules is activated, too.
 
Is Apache set to MPM-Prefork mode? After a full restore or an upgrade this setting tends to be on "Event" instead of "Prefork". The PHP module might then not be active. When it is set to "Prefork", make sure that the Apache "PHP5" modules is activated, too.

Hi Peter,

you made my day. It was set to "event"... Not it's working again like a charme. Thank you!

regards,
Lars
 
Back
Top