Yes, of course, that is not the whole error log. I can show the whole log, if you wish
, but file very big!
Ok, I can run server on the other virtual host, where in the error_log, on this moment, nothing is writed.
Let's do it).. I just a created index.php(is one file in the root directory my site) with content:
- Code: Select all
<?php echo "<h1>hello,world!</h1>";?>
Error_log
without eAccelerator:
- Code: Select all
empty
HTTP Headers:
http://site4.ru/
GET / HTTP/1.1
Host: site4.ru
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:18.0) Gecko/20100101 Firefox/18.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
Cache-Control: max-age=0
HTTP/1.1 200 OK
Date: Thu, 07 Feb 2013 08:39:57 GMT
Server: Apache/2.4.3 (Unix) OpenSSL/1.0.1c PHP/5.4.7
X-Powered-By: PHP/5.4.7
Content-Length: 20
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html
----------------------------------------------------------Look the string Content-Type:
text/htmlFF show me header: "Hello, world!"
Next step: Error_log
with eAccelerator running:
- Code: Select all
empty too...
HTTP Headers:
http://site4.ru/
GET / HTTP/1.1
Host: site4.ru
User-Agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:18.0) Gecko/20100101 Firefox/18.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8
Accept-Language: ru-RU,ru;q=0.8,en-US;q=0.5,en;q=0.3
Accept-Encoding: gzip, deflate
Connection: keep-alive
HTTP/1.1 200 OK
Date: Thu, 07 Feb 2013 08:45:01 GMT
Server: Apache/2.4.3 (Unix) OpenSSL/1.0.1c
Last-Modified: Thu, 07 Feb 2013 08:33:45 GMT
Etag: "27-4d51e4d1037fb"
Accept-Ranges: bytes
Content-Length: 39
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: application/x-httpd-php----------------------------------------------------------
Now look the string Content-Type:
application/x-httpd-php.
Now FF tries to download the script!
And access_log (just in case):
- Code: Select all
127.0.0.1 - - [07/Feb/2013:12:33:53 +0400] "GET / HTTP/1.1" 200 20
127.0.0.1 - - [07/Feb/2013:12:33:53 +0400] "GET /favicon.ico HTTP/1.1" 404 994
127.0.0.1 - - [07/Feb/2013:12:33:53 +0400] "GET /favicon.ico HTTP/1.1" 404 994
127.0.0.1 - - [07/Feb/2013:12:39:57 +0400] "GET / HTTP/1.1" 200 20
127.0.0.1 - - [07/Feb/2013:12:44:47 +0400] "GET / HTTP/1.1" 200 39
127.0.0.1 - - [07/Feb/2013:12:45:01 +0400] "GET / HTTP/1.1" 200 39
Сan you share your thoughts and ideas what might be wrong?