Current time: 12-27-2024, 01:23 PM Hello There, Guest! (LoginRegister)


Post Reply 
[HOWTO] ispCP and eAccelerator
Author Message
slav Offline


Posts: 1
Joined: May 2007
Reputation: 0
Post: #1
[HOWTO] ispCP and eAccelerator
Howto ISPCP Omega with eaccelerator

Installation:

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




** REMOVED OLD INSTALLATION **
(This post was last modified: 06-03-2010 04:21 PM by gOOvER.)
06-01-2007 06:14 AM
Visit this user's website Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #2
RE: [howto] ispcp and eaccelerator
Not really... eaccelerator should NOT be used with anything but mod_php otherwise some problems may occur, check the docs
06-01-2007 10:24 AM
Visit this user's website Find all posts by this user Quote this message in a reply
SniperSister Offline
Junior Member
*

Posts: 22
Joined: Feb 2007
Reputation: 0
Post: #3
RE: [howto] ispcp and eaccelerator
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
06-03-2007 03:18 AM
Visit this user's website Find all posts by this user Quote this message in a reply
raphael Offline
Member
***

Posts: 474
Joined: Apr 2007
Reputation: 8
Post: #4
RE: [howto] ispcp and eaccelerator
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...
06-03-2007 01:16 PM
Visit this user's website Find all posts by this user Quote this message in a reply
SniperSister Offline
Junior Member
*

Posts: 22
Joined: Feb 2007
Reputation: 0
Post: #5
RE: [howto] ispcp and eaccelerator
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
06-03-2007 04:34 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BioALIEN Offline
Public Relations Officer
*****
Dev Team

Posts: 620
Joined: Feb 2007
Reputation: 5
Post: #6
RE: [howto] ispcp and eaccelerator
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/ho...ccelerator

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.
(This post was last modified: 01-13-2008 06:37 PM by BioALIEN.)
01-13-2008 02:14 PM
Find all posts by this user Quote this message in a reply
gOOvER Offline
Banned

Posts: 3,561
Joined: Jul 2007
Post: #7
RE: [howto] ispcp and eaccelerator
Updated HowTo to the newest eA Version and removed php4 Support:

http://isp-control.net/documentation/howto:eaccelerator
06-03-2010 04:20 PM
Visit this user's website Find all posts by this user Quote this message in a reply
nuno Offline
Junior Member
*

Posts: 92
Joined: Jun 2008
Reputation: 1
Post: #8
RE: [howto] ispcp and eaccelerator
(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/how...celerator.

Any tip on it?


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

Maybe in that docs before the phpsize put "make clean" to avoid problems in Upgrade?
(This post was last modified: 06-21-2010 02:17 AM by nuno.)
06-21-2010 01:47 AM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #9
RE: [HOWTO] ispCP and eAccelerator
If you compile it a second time or if you compile a new Version you should do a "make clean".

Greez BeNe
06-21-2010 04:04 PM
Visit this user's website Find all posts by this user Quote this message in a reply
c0urier Offline
Junior Member
*

Posts: 89
Joined: Jun 2007
Reputation: 1
Post: #10
RE: [HOWTO] ispCP and eAccelerator
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.
(This post was last modified: 07-14-2010 04:36 AM by c0urier.)
07-14-2010 04:34 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)