Keep Server Online
If you find the Apache Lounge, the downloads and overall help useful, please express your satisfaction with a donation.
or
A donation makes a contribution towards the costs, the time and effort that's going in this site and building.
Thank You! Steffen
Your donations will help to keep this site alive and well, and continuing building binaries. Apache Lounge is not sponsored.
| |
|
Topic: No index.html file appears |
|
Author |
|
yuripo2
Joined: 20 Aug 2013 Posts: 1
|
Posted: Tue 20 Aug '13 12:22 Post subject: No index.html file appears |
|
|
Hi,
We have migrated from Apache 2.0.65 to 2.2.15 (PHP was migrated as well).
Apache is up and running, however when trying to access index.html (or any PHP file) nothing is displayed on a Web page.
Following lines appear in access_log file:
10.241.155.77 - mk77wk [20/Aug/2013:10:36:21 +0200] "GET /index.php HTTP/1.1" 200 -
10.241.155.77 - - [20/Aug/2013:10:36:29 +0200] "GET /index.html HTTP/1.1" 304 -
10.241.155.77 - - [20/Aug/2013:11:23:48 +0200] "GET /index.html HTTP/1.1" 304 -
Config file was changed (the elements which are not supported by new version were removed).
Any idea what can be the reason for that behavior?
Thanks,
Yuri |
|
Back to top |
|
James Blond Moderator
Joined: 19 Jan 2006 Posts: 7371 Location: Germany, Next to Hamburg
|
Posted: Wed 21 Aug '13 10:39 Post subject: |
|
|
Quote: | 10.241.155.77 - mk77wk [20/Aug/2013:10:36:21 +0200] "GET /index.php HTTP/1.1" 200 - |
Behinde the 200 of the request there is a -. So zero bytes are delivered. I assume that a PHP error stops the request.
in your php.ini (modify to fit your paths)
Code: |
error_reporting = E_ALL
display_errors = On
log_errors = On
error_log = C:\Users\James\work\php_errors.log
|
if it is not productive you can also turn on the error reporting
Code: |
display_errors = On
|
|
|
Back to top |
|
|
|
|
|
|