eAccelerator on the XAMPP 1.8.1 (OS Ubuntu 12.04.1)
Posted: 31. January 2013 20:01
Hi!
I have installed XAMPP 1.8.1. After that I activated eAccelerator. Browser tries to download a file located in the root directory of my website, for example index.php. I just uncommented the settings eAccelerator in the file php.ini and nothing else more.
This is access_log before activated:
This's after:
And http-headers:
http://site1.ru/
GET / HTTP/1.1
Host: site1.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, 31 Jan 2013 18:45:45 GMT
Server: Apache/2.4.3 (Unix) OpenSSL/1.0.1c
Last-Modified: Thu, 31 Jan 2013 16:38:33 GMT
Etag: "c4-4d49841f4de44"
Accept-Ranges: bytes
Content-Length: 196
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: application/x-httpd-php
----------------------------------------------------------
What I'm doing wrong?
I have installed XAMPP 1.8.1. After that I activated eAccelerator. Browser tries to download a file located in the root directory of my website, for example index.php. I just uncommented the settings eAccelerator in the file php.ini and nothing else more.
This is access_log before activated:
- Code: Select all
127.0.0.1 - - [31/Jan/2013:19:59:12 +0400] "GET / HTTP/1.1" 200 174
This's after:
- Code: Select all
127.0.0.1 - - [31/Jan/2013:20:00:23 +0400] "GET / HTTP/1.1" 200 191
And http-headers:
http://site1.ru/
GET / HTTP/1.1
Host: site1.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, 31 Jan 2013 18:45:45 GMT
Server: Apache/2.4.3 (Unix) OpenSSL/1.0.1c
Last-Modified: Thu, 31 Jan 2013 16:38:33 GMT
Etag: "c4-4d49841f4de44"
Accept-Ranges: bytes
Content-Length: 196
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: application/x-httpd-php
----------------------------------------------------------
What I'm doing wrong?