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

0.9.4 Install Issues on Windows 2003

By technobia
Created 23 Aug 2006 - 11:09am

ENVIRONMENT:
==========
Windows 2003 Server / IIS 6.0
PHP 4.3.11
Zend Optimizer 3.0.1
eAccelerator 0.9.4

ISSUE:
=====
When I run my phpinfo file I do not see eAccelerator listed as installed.
http://www.mcedigital.com/test.php

I have a number of PHP sites, particularly Xoops that run very slow and it was recommended that I install eAccerator and Zend Optimizer to resolve this issue since the web server I am using is IIS.

WHAT I HAVE DONE:
==============
1 Downloaded and copied unzipped file structure for eAccelerator into C:\php\extensions\eAcellerator

2. Downloaded the compiled binary eAccelerator094_4.3.11.dll renamed it eaccelerator.dll and put it in C:\PHP\extensions\eAccelerator

3. Created C:\eAccerator_tem_cache folder and gave the Internet User account read and write permissions to the folder

4. extension_dir = "C:\php\extensions" already present in the PHP.ini file

5. Added the following to the PHP.ini file at the beginning of the Windows Extensions section of the file.:

;BEGIN - eAccelerator Extension added for PHP Caching for performance
;
extension="eaccelerator.dll"
eaccelerator.shm_size="64"
eaccelerator.cache_dir="C:\eAccelarator_temp_cache"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0" ( I have used 3600 = 1 hour)
eaccelerator.shm_prune_period="0" ( testing 1800)
eaccelerator.shm_only="0" (testing 1 this seem noticeably faster?)
eaccelerator.compress="1"
eaccelerator.compress_level="9"
eaccelerator.content = "shm_and_disk" (testing)
eaccelerator.allowed_admin_path = "C:\PHP\extensions\eAccelerator\eaccelerator.php"
;
;END - eAccelerator Extension
;

6. I do not understand the reference in the eAccelerator installation documentation for the eAccelerator site “3)” that relates to the php4ts.lib file. That file is already present in my C:\php directory.

‹ bugreport.php claims ISAPI is not supported? Older versions of EA DLL and PHP 5? ›

Source URL:
http://www.sitebuddy.com/forum/eaccelerator/0_9_4_install_issues_on_windows_2003