PDA

View Full Version : eAccelerator 0.9.4 RC1


Hvu
11-29-2005, 02:57 AM
2005-11-20 Bart Vanbrabant <bart.vanbrabant at zoeloelip.be>

* Removed executor hooks, they weren't used anyway.
* Check if eA has a valid cache directory.
* Make the init of php fail if the initialisation of the shared memory
or cache directory failes.
* set shared memory size in eaccelerator.ini to 0 so the default OS
size is used.
* README updates
* Updated version to 0.9.4-rc1
http://sourceforge.net/project/showfiles.php?group_id=122249#files

This is RC! Do not use on production unless tested before.

ozgreg
11-29-2005, 06:21 AM
I would recommend everyone move away from the PHP eAccelerator / Zend Optimizer and instead install APC.

PHP / APC is going to be the path going forward

elix
11-29-2005, 07:21 AM
I would recommend everyone move away from the PHP eAccelerator / Zend Optimizer and instead install APC.

PHP / APC is going to be the path going forward
yup, just had my PHP recompiled to use APC :)

PvUtrix
11-29-2005, 08:00 AM
From what I hear APC doesn't work with Zend, so I'm sticking with eAccelerator for now, it's been working fine so far...

Preformance wise APC is almost identical to eAccelerator

Hvu
11-29-2005, 10:26 AM
Preformance wise APC is almost identical to eAccelerator

I'm testing out APC running optimization level 1 and it blows away eAccelerator.

StingRay
11-29-2005, 12:37 PM
It also blows away Zend hehe
I can't see them not fixing that real soon though.

yeshoward
11-29-2005, 11:16 PM
could I have details about APC please?


thanks

ozgreg
11-30-2005, 01:04 AM
It also blows away Zend hehe
I can't see them not fixing that real soon though.

Except you do not need Zend optimizer, APC is the replacement for it

linksys
11-30-2005, 02:38 AM
Will APC work with PHP 5.1.1? EAccelerator cannot compile under PHP 5.1.1.

Hvu
11-30-2005, 03:41 AM
I believe APC works with 5.1, try it out (:

ozgreg
11-30-2005, 05:34 PM
I'm testing out APC running optimization level 1 and it blows away eAccelerator.

I am also running under Level 1 and found the same. I had an initial load spike when I turned it on but it quickly settled down..

What other settings are you using HVU?

Hvu
11-30-2005, 05:54 PM
apc.cache_by_default 1
apc.enable_cli 0
apc.enabled 1
apc.file_update_protection 2
apc.filters
apc.gc_ttl 0
apc.max_file_size 1M
apc.mmap_file_mask
apc.num_files_hint 1000
apc.optimization 1
apc.shm_segments 2
apc.shm_size 64
apc.slam_defense 0
apc.ttl 3600
apc.user_entries_hint 100
apc.user_ttl 0

Yeah had initial EXTREMELY high load but that leveled off. It was around 22, then now its around .20

PvUtrix
11-30-2005, 07:24 PM
I'm testing out APC running optimization level 1 and it blows away eAccelerator.
everyone agrees that it's faster, but it's not THAT much faster according to these benchmarks
http://blog.kloppmagic.ca/archives/2005/11/03/apc-vs-zend-vs-mmcache-vs-ioncube/
http://timdorr.com/archives/2005/09/apc_and_eaccele.php

elix
12-01-2005, 04:37 PM
everyone agrees that it's faster, but it's not THAT much faster according to these benchmarks
http://blog.kloppmagic.ca/archives/2005/11/03/apc-vs-zend-vs-mmcache-vs-ioncube/
http://timdorr.com/archives/2005/09/apc_and_eaccele.php
Tim Dorr's test does not include having APC_optimization on. When it's on there is a HUGE difference.

Hayek
12-07-2005, 03:21 AM
How to install apc under Windows?

I download php_apc.dll from http://pecl4win.php.net/list.php/5_1 and copy php_apc.dll to extension dir. Then add extension=php_apc.dll as well as apc's cofigurations in php.ini. Finally, I try to start Apache, an error window popped out saying "php_apc.dll is NOT a valid win32 application". What's wrong with it? Have sent email inquiry to apc's maintainers but not yet receive response.