Blank browser window after initial set up.
I've set my first distro (Ubuntu 12.04 LTS) and installed all the packages required to host a web site including: Apache2, PHP, MySQL and a firewall.
I've pointed my domain name at my new IP Address and am able to ping successfully.
I've added a DNS record and set the reverse DNS.
A simple index page has been uploaded with a line of PHP and a line of HTML.
The domain name seems to resolve (
Can anyone think of a reason for this?
Many thanks
8 Replies
Thoughts on what could be wrong with my PHP config?
Thanks
@dcraig:
I see "This is a test. Hello World index.html."
Thanks for looking, this is an html page which would suggest my issue is with PHP.
My access log is returning what looks like a 500 error:
GET /index.php HTTP/1.1" 500 275
Thanks
Do you have error reporting turned on? You could have errors but not know it because error reporting is turned off.
MSJ
@Main Street James:
Boomfelled,
Do you have error reporting turned on? You could have errors but not know it because error reporting is turned off.
MSJ
Thanks for replying. Yes I have display_errors turned on in:
/etc/php5/apache2/php.ini
I also restarted apache after making this change.
Thanks again
Do you happen to have an htaccess file in the root directory of the site? If so it may be overriding the settings in php.ini
MSJ
@Main Street James:
Boomfelled,
Do you happen to have an htaccess file in the root directory of the site? If so it may be overriding the settings in php.ini
MSJ
Thanks MSJ,
No I have no .htaccess in my root. However I don't recall editing a .htaccess file during the setup process.
Thanks again.