Questions tagged [eaccelerator]

eAccelerator is a free open-source PHP accelerator & optimizer. It increases the performance of PHP scripts by caching them in their compiled state, so that the overhead of compiling is almost completely eliminated. It also optimizes scripts to speed up their execution.

eAccelerator is a free open-source accelerator & optimizer. eAccelerator stores compiled PHP scripts in shared memory and executes code directly from it. It creates locks only for a short time, while searching for a compiled PHP script in the cache, so one script can be executed simultaneously by several engines. Files that can't fit in shared memory are cached on disk only. eAccelerator typically reduces server load and increases the speed of your PHP code by 1-10 times.

52 questions
105
votes
12 answers

apc vs eaccelerator vs xcache

Im doing research on which one of these to use and I can't really find one that stands out. Eaccelerator is faster than APC, but APC is better maintained. Xcache is faster but the others have easier syntax. Anyone have recommendations on which to…
Galen
  • 29,976
  • 9
  • 71
  • 89
8
votes
5 answers

Choosing a PHP caching technique: output caching into files vs. opcode caching

I've heard of two caching techniques for the PHP code: When a PHP script generates output it stores it into local files. When the script is called again it check whether the file with previous output exists and if true returns the content of this…
PHPguy
  • 197
  • 2
  • 3
  • 8
6
votes
4 answers

Memcache control panel?

We've been running eAccelerator on each of 3 webservers and are looking to move to a memcache pool across all 3, hopefully reducing by about 2/3 our db lookups. One of the handy things about eAccelerator is the web-based control interface…
ConroyP
  • 40,958
  • 16
  • 80
  • 86
5
votes
3 answers

Should I use PHP accelerator (eAccelerator, APC, etc) in development environment?

I think the question speaks for itself.. My concern is, we would be modifying some PHP files here and there. Will the accelerator(s) know that it needs to recompile modified files (i assume they would, common sense)? However, i didnt find any…
mohdyusuf
  • 351
  • 1
  • 3
  • 12
4
votes
1 answer

How to install eAccelerator for XAMPP on Mac OS X 10.7 Lion

I had some problems installing eAccelerator on XAMPP installation of Mac OS X Lion. Firstly, I had this problem: Mohd-Yusufs-MacBook-Pro:APC-3.1.9 mohdyusuf$ $PHP_PREFIX/bin/phpize grep:…
mohdyusuf
  • 351
  • 1
  • 3
  • 12
4
votes
5 answers

delete cache by prefix in apc / memcache / eaccelerator

Let's assume I have these variables saved in apc, memcached and eaccelerator: article_1_0 article_1_1 article_3_2 article_3_3 article_2_4 How can I delete all cached variables that starts with article_3_ (they can reach up to 10000) ? is there any…
Rami Dabain
  • 4,709
  • 12
  • 62
  • 106
4
votes
1 answer

Uploaded PHP script not refreshing

I'm sure it's something obvious, but I'm pretty stuck here. I have a LAMP server (Centos 5.3, PHP 5.3.8) which has been working no problem. I modified and re-uploaded (via SFTP) a particular PHP script to the server, but when I reloaded the page the…
Ben D
  • 14,321
  • 3
  • 45
  • 59
2
votes
2 answers

Is it still worthwhile to install the 'eaccelerator' PHP compiler cache?

Back in the PHP 4 Jurassic Era, I often installed a PHP extension called 'eaccelerator' to boost the performance of PHP by caching the compiled byte code. I've read elsewhere that with PHP 5, the need for add-ons like eaccelerator has decreased, but…
Charles Johnson
  • 691
  • 1
  • 7
  • 19
2
votes
2 answers

eaccelerator 0.9.6.1 and --with-eaccelerator-shared-memory doesn't work

I tried to compile eaccelerator 0.9.6.1 with --with-eaccelerator-shared-memory flag but after: ./configure --with-eaccelerator-shared-memory got this message: configure: WARNING: unrecognized options: --with-eaccelerator-shared-memory I need…
chubbyk
  • 6,212
  • 13
  • 53
  • 67
2
votes
0 answers

eAccelerator will only show Cached Scripts: 1

I'm trying to reduce the load of PHP on my website and increase the speed with PHP caching. I've currently got eAccelerator installed and running with my PHP(according to php-v & phpinfo), however when I run phpInfo I see…
Moe
  • 95
  • 8
2
votes
2 answers

PHP eAccelerator and real-time data

I have this application written in PHP, I'm considering on using eAccelerator for optimizing the application. My dilemma is that, this application works with real-time data (daily there are around 6 to 8 million records inserted). Until now I…
Flakron Bytyqi
  • 3,234
  • 20
  • 20
2
votes
1 answer

how the opcode cache actually works?

im doing my final project and its about optimizing web performance (focus on caching). i plan to use eaccelearator as a tool in my final project. i need to know the background process of it, the flow diagram about how it works and how an opcode…
mayang
1
vote
2 answers

Eaccelerator with mod_deflate or gzip

First. Which differences between mod_Deflate and gzip, which is better ? And can i use Eaccelerator + mod_deflate together.
Ronin
  • 5
  • 2
  • 7
1
vote
0 answers

eAccelerator lead to apache Segmentation fault

I don't know why the apache child process regularly exit with signal Segmentation fault (11). php Version 5.2.5,eAccelerator 0.9.5.3。 When enabling Caching in eAccelerator extension and doing stress test, apache always exit whit error log: [notice]…
user1077365
  • 89
  • 2
  • 5
1
vote
1 answer

How to monitor eaccelerator

I installed eAccelerator. I can see the cache folder. And there are more or less 300MB space under it. But how do I know that it's caching data and working well? Any script to monitor?
Hao
  • 6,291
  • 9
  • 39
  • 88
1
2 3 4