jonMEGA

Member
Mar 16, 2004
21
0
151
What PHP cache program do you use on your server? Does CPanel support any PHP caching programs?
 

tweakservers

Well-Known Member
Mar 30, 2006
379
0
166
MMcache looks to be fine for Cpanel server but there are some users having issues on compiling during an upgrade of PHP version on Cpanel server. Search around the forum and you should be able to get more
 

S-Combs

Well-Known Member
Jun 10, 2004
78
0
156
Be careful with MMcache. I tried this some months ago and found that it broke vbulletin forums which I host a few of. There was no problem at first but after a couple of days all visitors got an mmcache warning when visiting any of those sites. Once the cache was emptied, they would be fine again until it built up again.
 
Last edited:

dafut

Well-Known Member
Dec 14, 2005
74
0
156
I run eaccelerator on 5 servers I manage. You can download it at SourceForge. If I recall properly, I ran into a couple problems with it not starting properly and had to make a couple minor edits in the php.ini file.

Found an install script somewhere called "ea.txt" that only required minor edits (such as the latest eaccelerator version in the wget string and a fix for a path error).

Reviewing one of my servers, I found the old error:
[30-Sep-2006 04:04:34] PHP Warning: Unknown(): Unable to load dynamic library './eaccelerator.so' - ./eaccelerator.so: cannot open shared object file: No such file or directory in Unknown on line 0​

This was caused by the php.ini file not looking in the proper path for the eaccelerator.so file. I've also found that I had to update the library when I upgraded php on a server.
 

jonMEGA

Member
Mar 16, 2004
21
0
151
I think that cPanel should make a installing a php cache program as an option in WHM.
 

budlight

Member
Jan 11, 2007
18
0
151
I've used APC with no problems whatsoever. So it looks like from this post ANY work fine if you're dedicated to setting it up. I know I tested APC on my localhost and installed it in one night and it worked fine never thought about it since and it's definitely cacheing the data(as I can see via their apc.php interface).
 

S-Combs

Well-Known Member
Jun 10, 2004
78
0
156
I've used APC with no problems whatsoever. So it looks like from this post ANY work fine if you're dedicated to setting it up. I know I tested APC on my localhost and installed it in one night and it worked fine never thought about it since and it's definitely cacheing the data(as I can see via their apc.php interface).

You cannot determine that ANY work fine from this post. There have only been a couple types discussed and one of these has documentable proof via vbulletin.com and google that it does break that script (at least certain revisions did).

Many other PHP scripts can and do have problems with caching systems including but not limited to, some types with encoded source such as; Zend, ioncube, source guardian, source cop, phplockit and codelock.

There can also be problems with combining accelerators like Zend and Eaccelerator for instance so, Some who are hosting sites running these encoded scripts may have more troubles than others.
 
Last edited:

isputra

Well-Known Member
May 3, 2003
574
0
166
Mbelitar
I've used APC with no problems whatsoever. So it looks like from this post ANY work fine if you're dedicated to setting it up. I know I tested APC on my localhost and installed it in one night and it worked fine never thought about it since and it's definitely cacheing the data(as I can see via their apc.php interface).
is APC works with phpsuexec enabled ?
 

brendanrtg

Well-Known Member
Oct 4, 2006
311
0
166
You should really take a seriosu look at xcache. Its working great on one of our servers and is easilly configurable.
 

trhosting.net

Well-Known Member
Mar 7, 2006
152
1
168
Turkey
Some of the posts are saying the eaccelerator is not working with phpsuexec. I wanted to try it, and tried it. I installed eaccelerator and encrypted a file. Uploaded this file to the server. I created a php.ini file on the same directory which i uploaded the encrypted file. I wrote the eaccelerator required things.

Then i the file is executed successfully. If i remove the php.ini file, then the file is not working.

I think this means that eaccelerator is working with phpsuexec. Am i wrong?
If i am right why on every post, they are saying it is not working.

I am a bit confused.

I installed eaccelerator 0.95 on 64bit Centos. PHP4.4.4, suexec enabled.