News:

SMF 2.1.4 has been released! Take it for a spin! Read more.

Main Menu

Help Installing eaccellerator

Started by zunescene, October 23, 2007, 01:14:06 PM

Previous topic - Next topic

zunescene

I am not happy with my forum performance and I really want to install this on my Apache VPS

http://eaccelerator.net/

But the instructions I found on this forum here
http://www.simplemachines.org/community/index.php?topic=49995.0
are outdated (2005) and the instructions on http://eaccelerator.net/ make no sense to me.

Are there any up to date instructions for non-technical people?

Can anyone walk me through this if not?
Zunescene.com  [Admin] [Editor] [Zune Owner]
Zune 2

KGIII


My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

zunescene

#2
The question I have is this: Can I ftp the files to my server?  Where do I put them?  Do I unzip them first?

They seem to totally skip that step here:  http://eaccelerator.net/wiki/InstallFromSource

They start out with step 1 is to compile.  I'm not ready to compile yet.  I need step 0.
Zunescene.com  [Admin] [Editor] [Zune Owner]
Zune 2

KGIII

You would FTP it over or you would WGET it via the command line.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

青山 素子

I actually recommend looking at APC. It is quite stable and you can install it with a simple "pecl install APC" at the root prompt, provided you have the correct development libraries installed.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


zunescene

Quote from: Motoko-chan on October 23, 2007, 05:22:42 PM
I actually recommend looking at APC. It is quite stable and you can install it with a simple "pecl install APC" at the root prompt, provided you have the correct development libraries installed.



Thanks for helpig but that sentence has about 20 words I dont understand.  I have never used a root prompt but I intend to try it tonight.
Zunescene.com  [Admin] [Editor] [Zune Owner]
Zune 2

KGIII

You might want to contact your hosting company I suppose. If you're alotted x-hours of support per month then this is the type of thing that you would want to have them attend to if you're not familiar with it.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

zunescene

Quote from: KGIII on October 23, 2007, 05:35:15 PM
You might want to contact your hosting company I suppose. If you're alotted x-hours of support per month then this is the type of thing that you would want to have them attend to if you're not familiar with it.

I will ask them before I try.  I wouldn't even mind paying an install fee.  But if they reject me command line here I come.
Zunescene.com  [Admin] [Editor] [Zune Owner]
Zune 2

KGIII

I'd take a gander at motoko's suggestion.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

zunescene

Zunescene.com  [Admin] [Editor] [Zune Owner]
Zune 2

KGIII

Looks easier and I did some reading it appears as if it is more stable or somesuch - I only read a half dozen posts about it so I'm certainly no guru.

My PC Support Forum
Please ask in-thread before PMing
                   SMF Help
                   Visit My Blog

How can we improve the support process?:
http://www.simplemachines.org/community/index.php?topic=163533.0

SMF vs. Godzilla? Who do you think will win?

zunescene

OK I got brave and did the command line thing for APC and got stuck here with aclocal command not found
  does that mean my library is missing some stuff?

[root@vps ~]# cd /usr/local/src
[root@vps src]# wget http://pecl.php.net/get/APC-3.0.15.tgz
--20:11:30--  http://pecl.php.net/get/APC-3.0.15.tgz
           => `APC-3.0.15.tgz'
Resolving pecl.php.net... 216.92.131.66
Connecting to pecl.php.net|216.92.131.66|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 112,056 (109K) [application/octet-stream]

100%[====================================>] 112,056      263.75K/s

20:11:31 (263.13 KB/s) - `APC-3.0.15.tgz' saved [112056/112056]

[root@vps src]# whereis phpize
phpize: /usr/bin/phpize
[root@vps src]# whereis php-config
php-config: /usr/bin/php-config
[root@vps src]# gunzip -c APC-3.0.8.tgz | tar xf -
gunzip: APC-3.0.8.tgz: No such file or directory
[root@vps src]# gunzip -c APC-3.0.15.tgz | tar xf -
[root@vps src]# cd APC-3.0.15
[root@vps APC-3.0.15]# /usr/bin/phpize
/usr/bin/phpize: line 57: aclocal: command not found
[root@vps APC-3.0.15]# /usr/bin/phpize
/usr/bin/phpize: line 57: aclocal: command not found
[root@vps APC-3.0.15]# /usr/bin/phpize ./configure --enable-apc --enable-apc-mmap --with-apxs=/usr/local/apache/bin/apxs --with-php-config=/usr/bin/php-config make make install
/usr/bin/phpize: line 57: aclocal: command not found
[root@vps APC-3.0.15]# /usr/bin/phpize
/usr/bin/phpize: line 57: aclocal: command not found
[root@vps APC-3.0.15]#
Zunescene.com  [Admin] [Editor] [Zune Owner]
Zune 2

青山 素子

Yes, aclocal is missing. What is the OS on your system?
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


zunescene

Quote from: Motoko-chan on October 24, 2007, 01:15:01 AM
Yes, aclocal is missing. What is the OS on your system?

Linux with Apache
Zunescene.com  [Admin] [Editor] [Zune Owner]
Zune 2

Ben_S

Quote from: zunescene on October 23, 2007, 06:54:51 PM
Is it faster?

Pretty much about the same last time I checked, although it's much more stable.
Liverpool FC Forum with 14 million+ posts.

青山 素子

Do you happen to know which Linux distribution?

Since I'll probably be busy at work today, I'll give you the instructions for CentOS/RHEL/Fedora and Debian/*buntu:

CentOS/RHEL/Fedora:
yum install aclocal

Debian/*buntu:
apt-get install aclocal

One of those should install aclocal and let you continue.

By the way, you don't need to install APC manually like you have been. Just type "pecl install APC".
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


zunescene

Quote from: Motoko-chan on October 24, 2007, 11:06:26 AM
Do you happen to know which Linux distribution?

Since I'll probably be busy at work today, I'll give you the instructions for CentOS/RHEL/Fedora and Debian/*buntu:

CentOS/RHEL/Fedora:
yum install aclocal

Debian/*buntu:
apt-get install aclocal

One of those should install aclocal and let you continue.

By the way, you don't need to install APC manually like you have been. Just type "pecl install APC".

OK I'll give it a shot tonight.  BTW, it looks like my php version is 4.3.xx.  Is that compatible?
Zunescene.com  [Admin] [Editor] [Zune Owner]
Zune 2

青山 素子

APC currently supports PHP 4.3.0 and newer. You should be fine.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


zunescene

#18
This is funny.  My host has finally responded to my ticket and says he will install APC and about anything I want for me.  So I guess I have 3 final questions.

1. Does the caching only start when enabled in the SMF admin panel?
2. Should I wait until just after a database backup to try this or am I OK with a 3 day old backup?  I wonder what the risks are.
3. http://us2.php.net/apc shows the default APC settings.  Will those setting work if I only have 512MB ram available on the VPS?
Zunescene.com  [Admin] [Editor] [Zune Owner]
Zune 2

青山 素子

1. No, APC will begin caching right away, but enabling it in the SMF admin area will make it more effective.

2. There should be no risks to your data, but I suggest making a backup before turning it on in SMF just to be safe.

3. The settings should be okay, but watch your memory usage. Once your forum gets busier, you might want to look at increasing the memory.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


zunescene

OK.  Well I gave them an authorization email to install it.  It may not be dont till tomorrow but I hope it helps cause my forum sucks performance wise.
Zunescene.com  [Admin] [Editor] [Zune Owner]
Zune 2

青山 素子

It loaded fairly quick for me. Did you make sure to do the usual tricks? That includes disabling hostname lookups (many hosts have awful DNS servers and that causes delays).

On my non-loaded forum I just moved to my own server, enabling caching at level 1 with SMF cut the creation time in half (from 0.2 to 0.1 seconds).
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


zunescene

#22
OK he said he installed APC but this still shows in smf.  I even restarted apache.

SMF has not been able to detect a compatible accelerator on your server.

How can I check if apc is installed ???
Zunescene.com  [Admin] [Editor] [Zune Owner]
Zune 2

青山 素子

Follow the info in: What is phpinfo.php?

Scroll down the info on that page and look for an area for "apc"

As an example, this is how it looks on my development server:

Quote
apc








APC Supportenabled
Version3.0.13
MMAP SupportEnabled
MMAP File Mask no value
Locking typeFile Locks
Revision$Revision: 3.135 $
Build DateMar 28 2007 08:13:23
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


zunescene

Zunescene.com  [Admin] [Editor] [Zune Owner]
Zune 2

青山 素子

Nope. Try restarting the webserver (just that portion, not the whole server). They might not have done that after the install, and you need to make PHP re-load the modules.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


zunescene

#26
OK it's going now!  Woot!
It's moving really fast, but this proves nothing because it's 1 in the morning.  The real test will be during peak hours.  I hope it kicks butt.
Zunescene.com  [Admin] [Editor] [Zune Owner]
Zune 2

slackerpunk

thanks to this thread I installed APC just fine..

OT:
can you use eAccelerator and APC both at the same time? or do I have to enable eAccelerator from php.ini?

青山 素子

It is best to avoid using more than one caching engine at the same time.
Motoko-chan
Director, Simple Machines

Note: Unless otherwise stated, my posts are not representative of any official position or opinion of Simple Machines.


slackerpunk

Quote from: Motoko-chan on November 09, 2007, 11:13:18 AM
It is best to avoid using more than one caching engine at the same time.

thanks

Advertisement: