Why does my browser download the website’s PHP files instead of displaying the pages?

Dieser Inhalt ist nur auf Rumänisch und Englisch verfügbar; unten sehen Sie den englischen Text.

Why does my browser download the website’s PHP files instead of displaying the pages?

If your browser downloads a PHP file, the server may be delivering source code instead of executing it. Treat this as a potential security incident: temporarily restrict public access using a method that does not depend on PHP, and notify your server administrator or hosting provider.

Check whether the issue started after a PHP version change, a server configuration change or the deployment of new rules. The administrator should check how PHP files are assigned to a handler and whether the PHP service is working. Avoid applying configuration changes copied from elsewhere without checking them.

If files containing passwords or keys could have been downloaded, replace the affected credentials and review available logs. Restore public access after the issue has been fixed and tested.

ÄHNLICHE FRAGEN

Hier sind einige Fragen, deren Antworten Sie interessieren könnten. Wir beantworten wichtige und praktische Fragen für unsere Kunden.

NEWSLETTER ABONNIEREN

Abonnieren Sie unseren Newsletter. Wir nutzen ihn nur für wichtige Informationen.

Illustration Newsletter-Anmeldung