Page 2 of 2 FirstFirst 12
Results 26 to 49 of 49
  1. #26
    Join Date
    Dec 2004
    Location
    New York, NY
    Posts
    10,710
    Quote Originally Posted by aww
    Wanted to post a big thank you.
    This was hassle free for me and I just changed the 0.9.4 to the released 0.9.5

    (the mkdir was also needed for me)
    No problem. I will update this post today for 0.9.5.

  2. #27
    Join Date
    Feb 2004
    Posts
    491
    By the way, is it possible that eaccelerator actually reduced my memory usage?
    I'm running a heavily visited wordpress site which of course is pure php and my oomguarpages went down nicely after apache restarted with this. I added the control panel and it's definitely working. Maybe it's because of the shared memory?

    Now if only someone could come with such a script to add mod_deflate to my easyapache build options list Otherwise I have no idea how to keep all my other options and have to use mod_gzip instead - hey maybe it's possible to grab the script that easyapache generates and add on building mod_deflate somehow?

  3. #28
    Join Date
    Dec 2004
    Location
    New York, NY
    Posts
    10,710
    Quote Originally Posted by aww
    By the way, is it possible that eaccelerator actually reduced my memory usage?
    I'm running a heavily visited wordpress site which of course is pure php and my oomguarpages went down nicely after apache restarted with this. I added the control panel and it's definitely working. Maybe it's because of the shared memory?

    Now if only someone could come with such a script to add mod_deflate to my easyapache build options list Otherwise I have no idea how to keep all my other options and have to use mod_gzip instead - hey maybe it's possible to grab the script that easyapache generates and add on building mod_deflate somehow?
    eAccelerator should definitely help any PHP based site. Though, Apache restarts in general will reduce memory usage for a little bit, but as long as you don't see it creeping back up, that's a good thing

    What Apache version do you have?

  4. #29
    Join Date
    Dec 2004
    Location
    New York, NY
    Posts
    10,710
    This has been updated for 0.9.5. Should be all good.

  5. #30
    Join Date
    Feb 2004
    Posts
    491
    Quote Originally Posted by layer0
    eAccelerator should definitely help any PHP based site. Though, Apache restarts in general will reduce memory usage for a little bit, but as long as you don't see it creeping back up, that's a good thing

    What Apache version do you have?
    Apache 1.3.37 on centos - a fairly standard cpanel build

    Saw 133 simultaneous visitors yesterday thanks to eaccelerator keeping it smooth
    This is on a 256mb VPS with 1gig burst - barely used any of the burst.

    I noticed there is a slight delay the first time a new php script is encountered but after that its far faster than before. I used to have a shared box with phpa several years ago but this is far better.

    Next project is to get lighthttp going on the same box just to serve images and free up apache but I sure wish I was using mod_deflate instead of mod_gzip.

  6. #31
    Join Date
    Dec 2004
    Location
    New York, NY
    Posts
    10,710
    Quote Originally Posted by aww
    Apache 1.3.37 on centos - a fairly standard cpanel build

    Saw 133 simultaneous visitors yesterday thanks to eaccelerator keeping it smooth
    This is on a 256mb VPS with 1gig burst - barely used any of the burst.

    I noticed there is a slight delay the first time a new php script is encountered but after that its far faster than before. I used to have a shared box with phpa several years ago but this is far better.

    Next project is to get lighthttp going on the same box just to serve images and free up apache but I sure wish I was using mod_deflate instead of mod_gzip.
    http://www.aaanime.net/pmak/apache/mod_accel/

  7. #32
    Join Date
    Dec 2005
    Location
    Houma, LA
    Posts
    71
    The latest version is now 0.9.5.1
    Owner/President
    Booyah! Web Hosting, L.L.C.
    Great Personal Service
    Experience the Booyah! Difference

  8. #33
    Join Date
    Dec 2004
    Location
    New York, NY
    Posts
    10,710
    Script was updated upon the release of that version - but I forgot to mention that in this thread.

  9. #34
    Join Date
    Jan 2005
    Posts
    2,203
    Is it better to change eaccelerator.shm_size to 32mb ?

  10. #35
    Join Date
    Dec 2004
    Location
    New York, NY
    Posts
    10,710
    Quote Originally Posted by HD Fanatic View Post
    Is it better to change eaccelerator.shm_size to 32mb ?
    If you just create a phpinfo page, it'll show you how much of the 16mb you are using. If you are using all of it, then yes, you can increase it if you like.

  11. #36
    Join Date
    Jan 2005
    Posts
    2,203
    I set it to 32mb and it's 100% used but then, /dev/shm shows 0% used, weird.. Is there a limit on what you can set for eaccelerator.shm_size ?

  12. #37
    Join Date
    Dec 2005
    Location
    Houma, LA
    Posts
    71
    Quote Originally Posted by HD Fanatic View Post
    I set it to 32mb and it's 100% used but then, /dev/shm shows 0% used, weird.. Is there a limit on what you can set for eaccelerator.shm_size ?
    I was also wondering if there was sort of norm max cap.
    Owner/President
    Booyah! Web Hosting, L.L.C.
    Great Personal Service
    Experience the Booyah! Difference

  13. #38
    hi, the script appears to have installed correctly, however when i type php -v it does not show the eaccelerator tag? Have i missed something completely? am i supposed to do any configuration inside any cpanel interfaces?

  14. #39
    Join Date
    Dec 2004
    Location
    New York, NY
    Posts
    10,710
    Quote Originally Posted by Tensop View Post
    hi, the script appears to have installed correctly, however when i type php -v it does not show the eaccelerator tag? Have i missed something completely? am i supposed to do any configuration inside any cpanel interfaces?
    grep "extension_dir" -- /usr/local/lib/php.ini

    what does that return for you?

  15. #40
    Join Date
    Jun 2006
    Location
    New Delhi, India
    Posts
    168
    This is something real good .

    Thanks a ton

  16. #41
    Thanks a lot I really appreciate the information given

  17. #42
    Join Date
    Dec 2004
    Location
    New York, NY
    Posts
    10,710
    Glad I could help.

  18. #43
    Join Date
    Feb 2004
    Posts
    491
    For those running forums or other software that relies on php sessions I highly recommend building eaccelerator with session support and enabling eaccelerator as the session handler in php.ini

    Much, much faster to store session data in the shared memory than to use the disk, even if cached it still needs bus i/o. On a loaded VPS this extra speed can help.

    This script can be easily modified to do this, but you have to edit php.ini for the session handler yourself.

    Just ask me if you need more instructions.

  19. #44
    Join Date
    Sep 2006
    Location
    Toronto
    Posts
    163
    make sure eaccelerator.so is inside your extension dir. you may use phpinfo to find out your extension_dir

    Quote Originally Posted by Tensop View Post
    hi, the script appears to have installed correctly, however when i type php -v it does not show the eaccelerator tag? Have i missed something completely? am i supposed to do any configuration inside any cpanel interfaces?
    layer0, have installed eaccelerator using your script, works perfectly, thanks

  20. #45
    Join Date
    May 2006
    Location
    United States (USA)
    Posts
    190
    does this work on DirectAdmin?

  21. #46
    Join Date
    Sep 2006
    Location
    Toronto
    Posts
    163
    the title says it's for cpanel. however you may try this one:

    http://www.webhostingtalk.com/showth...t=eaccelerator

  22. #47
    good work

    thanks dear

  23. #48
    Hi, i have problem, tried to install eaccelerator but i'm getting this with php -v
    [root@host ~]# php -v
    Failed loading /usr/local/Zend/lib/ZendExtensionManager.so: /usr/local/Zend/lib/ZendExtensionManager.so: cannot open shared object file: No such file or directory
    PHP 4.4.7 (cli) (built: Oct 9 2007 17:21:51)
    Copyright (c) 1997-2007 The PHP Group
    Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
    [root@host ~]#Help please !

  24. #49
    Hi
    I setup eaccelerator successfully...
    How can i use it???
    I read its documentation but i can not understand any thing
    Can any one expalin a small example for me

    Thanks

Page 2 of 2 FirstFirst 12

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •