E-Accelerator

Ok, I've done everything I can think of. E-Accelerator shows installed but not available. Does anyone have any ideas on this?

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 29 Aug 2011

I know the chances of us both installing Eaccelerator on the same day and having the same problem has to be astronomical but it looks like it happened. I installed xcache this morning and saw no difference in speed so I installed Eaccelerator. Then I noticed what you noticed, that is says  installed but not available. After much Googling I found this on the Cpanel forums..

"Suphp (with suhosin) disables eaccelerator."

This is how I have php setup so after I found this I gave up. Is this how you have it running? Here's the actual post:

 

http://forums.cpanel.net/f5/uphp-vs-fastcgi-eaccelerator-102617.html

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 29 Aug 2011

It seems eaccelerator is not loaded on the php.ini

----
Quote · 29 Aug 2011

Ok, I am completely lost now. I don't have a php.ini file for my dolphin sites.

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 30 Aug 2011

Here is the info from my phpinfo output.

 

eAccelerator support enabled
Version 0.9.6.1
Caching Enabled true
Optimizer Enabled true
Check mtime Enabled true
Memory Size 16,777,176 Bytes
Memory Available 68 Bytes
Memory Allocated 16,777,108 Bytes
Cached Scripts 281
Removed Scripts 0

 

Directive Local Value Master Value
eaccelerator.allowed_admin_path no value no value
eaccelerator.cache_dir /tmp/eaccelerator /tmp/eaccelerator
eaccelerator.check_mtime 1 1
eaccelerator.debug 0 0
eaccelerator.enable 1 1
eaccelerator.filter no value no value
eaccelerator.log_file no value no value
eaccelerator.optimizer 1 1
eaccelerator.shm_max 0 0
eaccelerator.shm_only 0 0
eaccelerator.shm_prune_period 0 0
eaccelerator.shm_size 16 16
eaccelerator.shm_ttl 0 0

 

I don't see the problem?

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 30 Aug 2011

Is anyone going to step in here and give us a hand? I would think this would be something the Boonex team would be interested in solving or at least explaining. The help documentation provided for this feature ofm Dolphin is completely useless!

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 30 Aug 2011

Sky, did you see my post above? According to that post on the CPanel forums Eaccelerator only works if you have php running as FastCGI or DSO.. is yours setup like that? If not it won't work. That is why it didn't work on mine, I have php running as suphp for the security aspect.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 30 Aug 2011

Yeah, I saw that. That's the only thing I saw that said it won't work. Everything else I read says it should work just fine under Suphp. It has to be some sort of config error. My phpinfo file tells me I only have 68bytes of memory available for it. That can't be right.

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 31 Aug 2011

While wading through all the other pages of people saying it wouldn't work I found the official Boonex page saying it won't work...

http://www.boonex.com/trac/dolphin/wiki/HostingServerSetupRecommendations

If you scroll down to the suPHP section:

"Even worse is if opcode cache extensions are not compatible with suPHP"

 

They did a test: FastCGI + Eaccelerator vs

                               dso + Eaccelerator vs

                                suPHP vs

                                 FastCGI

 

After looking at the results it really made me want to swap to FastCGI. 

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 31 Aug 2011

suPHP

suPHP also runs PHP as a CGI module instead of an Apache module. It differs from CGI in that PHP scripts that are called from the web will run under the user that owns them, as opposed to ‘nobody’. suPHP is typically the default handler and is recommended by cPanel for serving PHP because you will be able to see which user owns the account that is running the PHP script.

suPHP is beneficial in that if you are using a file upload tool on your site (such as an automatic updater or theme/plug-in installer for WordPress), the files will already have the right ownership & permissions. Uploading and other WordPress functions will not work without suPHP or FastCGI.

suPHP also offers a security advantage that any php script that is not owned by the particular user (such as another account or root) will not be executable. Also, files that have permissions set to world writeable will likewise be non-executable. This means that if one account is compromised, the malicious scripts will not be able to infect other accounts.

The drawback is that suPHP generally runs a much higher CPU load. In addition, you CANNOT use an Opcode Cache (such as Xcache or APC) with suPHP. It is strongly recommend that you install a caching plug-into supplement. If you find that your server is still continually struggling with CPU usage, you will want to consider switching to DSO or FastCGI.

FastCGI

FastCGI (aka: mod_fcgid) is a high performance alternative to CGI. It has the security/ownership benefits of suPHP in that PHP scripts will run as the actual cPanel user as opposed to ‘nobody’. The difference with FastCGI is that it can drastically save on CPU performance and give speeds close to that of DSO. It can also be used with an opcode cacher like eAccelerator or APC, which can help further speed the loading of pages.

The drawback is FastCGI has a high memory usage. This is because rather than creating the PHP process each time it is called, like suPHP, it keeps a persistent session open in the background. This is what lets it work with an opcode caching software.

If you like the security/ownership benefits of suPHP and you can afford a major increase in memory usage (meaning you already have a low average memory usage), you may wish to consider using FastCGI.

Quote · 31 Aug 2011

Ok Ok, I got it.

My site is starting to get pretty fat. If I don;t so something, they are going to start calling it the Turtle site. I'll be making the change to FastCGI. I just finished upgrading my php to the latest one so between the two, I should be able to make this rock.

Thanks....

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 1 Sep 2011

Ok, made all the changes. Still cannot get Eaccelerator to work. Still says installed but not available

http://towtalk.net ... Hosted by Zarconia.net!
Quote · 1 Sep 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.