Getting blank php page on httpd 2.4 and php-fpm

Solution Unverified - Updated -

Issue

After configuring PHP to run on Apache HTTPD, PHP blank page is shown in the browser when trying to access phpinfo(). Even the access-log showing code 200

::1 - - [31/May/2023:15:05:53 -0400] "GET /info.php HTTP/1.1" 200 -
::1 - - [31/May/2023:15:08:19 -0400] "GET /info.php HTTP/1.1" 200 -

Environment

  • Red Hat Enterprise Linux (RHEL)
    • 7
    • 8
  • Apache HTTPD
    • 2.4
  • JBoss Core Service
    • HTTPD 2.4.51

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