PHP 5.1.6 ISAPI mode on IIS5 doesn't seem to load extensions...

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hey :)

I'm trying to figure this out. Personally, I don't care much for Windows
servers, but this is not my choice, I'm just left with having to get it to
work. Which isn't proving to be funny at all.

I've got PHP 5.1.6 up and running on the IIS5 server on this Windows 2000
Server box. That's seemingly working fine.

Next step was to install the eAccelerator extension, since we need all the
speed we can get here. It works fine on my Mandriva laptop, but not on this
Windows server. I got binaries from
http://www.sitebuddy.com/PHP/Accelerators/eAccelerator_windows_binaries_builds,
I took the 0.9.5 Final versions for PHP 5.1.6, renamed them
eaccelerator.dll and eloader.dll (just in case we'd need that (unlikely)),
and put them in the c:\php\ext directory, which is where my php.ini looks
(extension_dir = "C:\php\ext").

I added this to php.ini:
------------
[eaccelerator]
extension="eaccelerator.dll"
eaccelerator.shm_size="32" ; 16MB per site ?
eaccelerator.cache_dir="c:\Temp\phpeaccelerator"
eaccelerator.enable="1"
eaccelerator.optimizer="1"
eaccelerator.check_mtime="1"
eaccelerator.debug="0"
eaccelerator.filter=""
eaccelerator.shm_max="0"
eaccelerator.shm_ttl="0" ; (Could use 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" ;lowering or disabling gains speed.
eaccelerator.keys = "shm" ; (testing)
eaccelerator.sessions = "shm" ; (testing)
eaccelerator.content = "shm" ; (testing)
eaccelerator.admin.name="admin" ; (upto eAccelerator 0.9.4)
eaccelerator.admin.password="password" ; (upto eAccelerator 0.9.4)
eaccelerator.allowed_admin_path = "C:\Inetpub\wwwroot\ea\control.php"
------------

My C:\php directory and everything in it has full control for the
PSRV4\IUSR_PSRV4 user, and C:\Temp\phpeaccelerator has full control for
Everyone.

I've tried different setups, even different binaries, but to no avail. No
matter what I do, I see no sign of eAccelerator in the phpinfo() output. 

Then I started wondering if other extensions worked at all. I have enabled
the php_mssql.dll extension, since we have to use a MS SQL Server as well
(sigh), but yes, this extension doesn't show in phpinfo() either... I'm
just supposing that it would, but Í can't be sure... 

Does anybody have an idea here? I'm a bit stomped, to tell you the truth :(

Thanks in advance,
Daniel

-- 
http://www.rhesusb.dk

[Index of Archives]     [PHP Users]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [Postgresql]     [PHP Books]     [PHP Databases]     [PHP SOAP]
  Powered by Linux