I just installed latest centos as a desktop version. Then I installed php via yum and turned on httpd. Php code is being interpreted, but phpinfo() is messed up. I see all the html code as well as the phpinfo variables. How do I fix?
I just installed latest centos as a desktop version. Then I installed php via yum and turned on httpd. Php code is being interpreted, but phpinfo() is messed up. I see all the html code as well as the phpinfo variables. How do I fix?
Figured it out. phpinfo() will only display correctly if you browse to it using a domain name. I was using the server's IP and it would not display correctly.