Link to home
Create AccountLog in
Avatar of ICantSee
ICantSeeFlag 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.
ASKER CERTIFIED SOLUTION
Avatar of SStory
SStory
Flag of United States of America image

Link to home
membership
Create an account to see this answer
Signing up is free. No credit card required.
Create Account
Avatar of ICantSee

ASKER

It printed out "Current PHP version:5.4.16 and nothing on the second line. How do I enable it?
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.
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!