We help IT Professionals succeed at work.

Wordpress on Centos 7 displaying source code instead of content

ICantSee
ICantSee asked
on
120 Views
Last Modified: 2015-10-12
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.
Comment
Watch Question

CERTIFIED EXPERT
Commented:
This one is on us!
(Get your first solution completely free - no credit card required)
UNLOCK SOLUTION

Author

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

Author

Commented:
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.
CERTIFIED EXPERT

Commented:
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!
Unlock the solution to this question.
Join our community and discover your potential

Experts Exchange is the only place where you can interact directly with leading experts in the technology field. Become a member today and access the collective knowledge of thousands of technology experts.

*This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

OR

Please enter a first name

Please enter a last name

8+ characters (letters, numbers, and a symbol)

By clicking, you agree to the Terms of Use and Privacy Policy.