Avatar of ICantSee
ICantSee
Flag for United States of America asked on

Wordpress on Centos 7 displaying source code instead of content

Our Wordpress installation on Centos 7 is displaying source code instead of content.

. LAMP has been installed. Wp-config.php has been edited.

I am new to Linux so I am not sure how to resolve this issue.

Any assistance will be appreciated. Please include paths to files that need edited etc. I can use all the help I can get at this point.
WordPressPHPLinux

Avatar of undefined
Last Comment
SStory

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
SStory

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
ICantSee

ASKER
It printed out "Current PHP version:5.4.16 and nothing on the second line. How do I enable it?
ICantSee

ASKER
I don't understand where my last post went. I started over by deleting the virtual server and reinstalling everything. It worked as expected after that. I wanted to mark the missing post and the post from SStory as the answer.
SStory

Sorry. I've been on vacation for about 8 days and just got back to this.  It looks like you've solved it.  Something must have gone wrong in your original install. If the PHP interpreter isn't working, PHP pages are just displayed instead of interpreted I believe. So somehow it wasn't working.

Thanks!
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck