logo
Published on Technical articles on: Windows servers, Apache Web Server, MySQL, PHP, IIS (http://www.sitebuddy.com)

PHP 5.2 and IIS

By dancablam
Created 30 Jan 2007 - 12:35am

Hi,
I'm running PHP 5.2.0, IIS 6.0, and eAccelerator 0.9.5 on Windows 2003 Server. My INI settings are as follows:

extension="eaccelerator.dll"
eaccelerator.shm_size="64"
eaccelerator.cache_dir="C:\PHP\eaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0"
accelerator.shm_prune_period="0"
eaccelerator.shm_only="0"
eaccelerator.compress="1"
eaccelerator.compress_level="9"
eaccelerator.keys="shm"
eaccelerator.sessions="shm"
eaccelerator.content="shm"
eaccelerator.allowed_admin_path="C:\Inetpub\wwwroot\eaccelerator\control.php"

The extension does exist in stated directory, and I have created the cache dir and given it write permissions.

Upon starting IIS and loading a simple script, I get "The connection was reset" due to a "Bad Request". I've tried many different PHP scripts, as well as the control.php. Nothing works at all. I've also set eaccelerator.enable="0" to no avail. I have even commented out all lines other than the cache_dir and extension. The only thing that works is commenting out the extension line (effectively disabling the extension).

Other INI settings that may be of interest:
cgi.force_redirect = 0
fastcgi.impersonate = 1
cgi.rfc2616_headers = 0

Here is a sample of the log I am receiving from IIS:
2007-01-30 06:46:37 172.16.0.153 3321 172.16.1.1 80 HTTP/1.1 GET /test.php - 1 Connection_Abandoned_By_AppPool DefaultAppPool

Any suggestions as to what I may be doing wrong?

Many thanks!
--Dan

‹ XAMPP & PHP 5.2.1 2 questions eaccelerator 0.9.5 and php 5.2.0 ›

Source URL:
http://www.sitebuddy.com/forum/eaccelerator/php_5_2_and_iis