ispCP - Board - Support
[HOWTO] ispCP and eAccelerator - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Howtos (/forum-41.html)
+--- Thread: [HOWTO] ispCP and eAccelerator (/thread-721.html)

Pages: 1 2


[HOWTO] ispCP and eAccelerator - slav - 06-01-2007 06:14 AM

Howto ISPCP Omega with eaccelerator

Installation:

http://isp-control.net/documentation/howto:eaccelerator




** REMOVED OLD INSTALLATION **


RE: [howto] ispcp and eaccelerator - raphael - 06-01-2007 10:24 AM

Not really... eaccelerator should NOT be used with anything but mod_php otherwise some problems may occur, check the docs


RE: [howto] ispcp and eaccelerator - SniperSister - 06-03-2007 03:18 AM

raphael Wrote:Not really... eaccelerator should NOT be used with anything but mod_php otherwise some problems may occur, check the docs

What's the problem with fastcgi? Take a look at the FAQ Wink

http://eaccelerator.net/wiki/Faq Wrote:Is eAccelerator working with php-cgi or php-cli?
This is not yet supported and it won't be supported in the near future. However FastCGI is supported.

Best regards
Snipy


RE: [howto] ispcp and eaccelerator - raphael - 06-03-2007 01:16 PM

SniperSister Wrote:What's the problem with fastcgi? Take a look at the FAQ Wink
Rolleyes https://www.eaccelerator.net/wiki/Faq?action=history
Last time I saw the FAQ that info wasn't available

But I don't wanna imagine what using a shared eaccelerator.cache_dir could cause...


RE: [howto] ispcp and eaccelerator - SniperSister - 06-03-2007 04:34 PM

raphael Wrote:But I don't wanna imagine what using a shared eaccelerator.cache_dir could cause...

That's the reason why I put the cache_dir to /var/www/virtual/my-domain.tld/phptmp Wink

Regards
Snipy


RE: [howto] ispcp and eaccelerator - BioALIEN - 01-13-2008 02:14 PM

I just did "apt-get update" and "apt-get upgrade"

There are new updates for php5 so I accepted the upgrade. However this broke ispcp admin and all php pages. Looking at the apache error logs it states:

Quote:PHP Warning: [eAccelerator] This build of "eAccelerator" was compiled for PHP version 5.2.0-8+etch7. Rebuild it for your PHP version (5.2.0-8+etch9) or download precompiled binaries.

PHP Fatal error: Unable to start eAccelerator module in Unknown on line 0
[Sun Jan 13 03:32:25 2008] [warn] FastCGI: server "/var/www/fcgi/master/php5-fcgi-starter" (pid 2663) terminated by calling exit with status '254'

As stated on the How To, you need to *rebuild* eaccelerator. However, don't forget to remove all previous eaccelerator files before you carry out the rebuild.

I think the guide here needs to be more explicit about it:
http://www.isp-control.net/ispcp/wiki/howto_eaccelerator

Also, does anybody know how we can enable the control.php file provided with eAccelerator? It would be nice to have it as an optional step.


RE: [howto] ispcp and eaccelerator - gOOvER - 06-03-2010 04:20 PM

Updated HowTo to the newest eA Version and removed php4 Support:

http://isp-control.net/documentation/howto:eaccelerator


RE: [howto] ispcp and eaccelerator - nuno - 06-21-2010 01:47 AM

(06-03-2010 04:20 PM)gOOvER Wrote:  Updated HowTo to the newest eA Version and removed php4 Support:

http://isp-control.net/documentation/howto:eaccelerator

Hello gOOvER et all,
After I upgrade the eACcelerator to 0.9.6.1 a last week I think I have now problems like this:

] [notice] EACCELERATOR(19107): PHP crashed on opline 38 of main() at /var/www/virtual/.........:46

so I clean the cache , and works again until the next crash.
My cache folder is located in /var/cache/eaccelerator, i folowed the http://isp-control.net/documentation/howto:eaccelerator.

Any tip on it?


######## EDIT #########

Maybe in that docs before the phpsize put "make clean" to avoid problems in Upgrade?


RE: [HOWTO] ispCP and eAccelerator - BeNe - 06-21-2010 04:04 PM

If you compile it a second time or if you compile a new Version you should do a "make clean".

Greez BeNe


RE: [HOWTO] ispCP and eAccelerator - c0urier - 07-14-2010 04:34 AM

I need a little advice on how to completely uninstall eAccelerator since it has started to caused some very annoying problems.
Ex.
PHP Code:
[Tue Jul 13 20:26:13 2010] [noticemod_fcgidcall /var/www/virtual/DOMAIN.TLD/htdocs/index.php with wrapper /var/www/fcgi/DOMAIN.TLD/php5-fcgi-starter
] [noticeEACCELERATOR(27894): PHP crashed on opline 13 of main() at /var/www/virtual/DOMAIN.TLD/htdocs/libraries/joomla/import.php:21 

This gives the customer a 500 Internal server Error, and the solution is of course to delete everything in the cache folder. This solution lasts for around 10-15 minutes then the error occur again.