Nothing but blank pages for php files...please help!
Posted: 10. September 2009 03:14
I literally had XAMPP working perfectly just 5 hours ago. SOMETHING happened and I began to get erros sayng Apache Server had stopped working every time I tried to load a page. So, I finally opted to reinstall.
I saved my working httpd-vhosts.conf file so I could put the virtuals back in the way I had them. My windows hosts file was doing its job directing my browser to the virtuals. No problem. Worked perfect.
After the reinstall, html files, the XAMPP opening page, even phpMyAdmin open fine. But, trying to load any php file from any of my sites results in a plain white page. Viewing the source of the white page reveals nothing but doctype, html, head, meta and body tags. No content whatsoever. Under that same virtual, I can manually type in an html page and it loads just fine. So, I know my virtuals and hosts file setups are good to go. It just doesn't seem to be parsing php for some reason.
I do not use short php tags. As I said, everything was working fine 5 hours ago with a virtually out-of-the-box XAMPP setup. I changed nothing in the php.ini file.
I am completely not understanding what has changed to make things crash and burn. Can anyone shed some light on this for me?
Thanks!
Matt
I saved my working httpd-vhosts.conf file so I could put the virtuals back in the way I had them. My windows hosts file was doing its job directing my browser to the virtuals. No problem. Worked perfect.
After the reinstall, html files, the XAMPP opening page, even phpMyAdmin open fine. But, trying to load any php file from any of my sites results in a plain white page. Viewing the source of the white page reveals nothing but doctype, html, head, meta and body tags. No content whatsoever. Under that same virtual, I can manually type in an html page and it loads just fine. So, I know my virtuals and hosts file setups are good to go. It just doesn't seem to be parsing php for some reason.
I do not use short php tags. As I said, everything was working fine 5 hours ago with a virtually out-of-the-box XAMPP setup. I changed nothing in the php.ini file.
I am completely not understanding what has changed to make things crash and burn. Can anyone shed some light on this for me?
Thanks!
Matt