Blank PHP page with Apache HTTPD and php-fpm

Solution Verified - Updated -

Issue

  • On a RHEL 9.4 system with Apache/2.4.57, PHP 8.2.13 (cli), and PHP 8.2.13 (fpm-fcgi) installed with httpd and php-fpm running and reporting no errors the server is serving php files as text in the browser rather than executing the php.

Environment

  • Red Hat Enterprise Linux (RHEL)
  • Apache Web Server (httpd)
  • PHP (php-fpm)

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content