What is eAccelerator?

Started by [Unknown], September 19, 2005, 01:35:51 AM

Previous topic - Next topic

barisaydiner

I installed this way
yum install php-devel

but it didn't solve.

namely which code I have to use?

青山 素子

I'm guessing Fedora, RHEL, or CentOS. I'm not that familiar with those systems, but you need to find the package containing Automake for a start.
Motoko-chan
Director, Simple Machines

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


Daniel15

Try
yum install gcc automake
That may or may not solve the problem :)
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

Ben_S

Quote from: littleone on July 25, 2007, 06:12:56 PM
My host just installed eAccelerator and here is what they gave me:

eAccelerator installed.
# php -v
PHP 4.4.6 (cli) (built: Apr 9 2007 23:03:01)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with eAccelerator v0.9.5.1, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v3.2.2, Copyright (c) 1998-2006, by Zend Technologies

Now my question was, that when I check the Caching tab in the Admin panel it still says that SMF cannot find a compatible accelerator.  I went ahead and set it to level 1 anyways, but I wanted to make sure that wasnt a problem and if there was a way i could check to make sure it was working proper?  Thanks!

You hosts needs to compile it with --with-eaccelerator-content-caching or SMF won't be able to make use of it.
Liverpool FC Forum with 14 million+ posts.

barisaydiner

thanks it is working now  :P

php -v
PHP 5.0.4 (cli) (built: Nov  8 2005 08:27:12)
Copyright (c) 1997-2004 The PHP Group
Zend Engine v2.0.4-dev, Copyright (c) 1998-2004 Zend Technologies
    with eAccelerator v0.9.5.1, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
    with the ionCube PHP Loader v3.1.16, Copyright (c) 2002-2006, by ionCube Ltd., and
    with Zend Extension Manager v1.2.0, Copyright (c) 2003-2007, by Zend Technologies
    with Zend Optimizer v3.3.0, Copyright (c) 1998-2007, by Zend Technologies

chette

Aside from removing the necessary lines in php.ini, how can I get eAccelerator totally out of my system?
chette

!Hachi!

removing files that you installed?.so type files.
Happy Ramadan

barisaydiner

i wanna install another server (centos4.2) but I have a problem

/usr/bin/phpize
configure.in:9: warning: underquoted definition of PHP_WITH_PHP_CONFIG
  run info '(automake)Extending aclocal'
  or see http://sources.redhat.com/automake/automake.html#Extending-aclocal
configure.in:32: warning: underquoted definition of PHP_EXT_BUILDDIR
configure.in:33: warning: underquoted definition of PHP_EXT_DIR
configure.in:34: warning: underquoted definition of PHP_EXT_SRCDIR
configure.in:35: warning: underquoted definition of PHP_ALWAYS_SHARED
acinclude.m4:19: warning: underquoted definition of PHP_PROG_RE2C
configure.in:65: error: possibly undefined macro: AC_PROG_LIBTOOL
      If this token and others are legitimate, please use m4_pattern_allow.
      See the Autoconf documentation.


I did not understand. what can I do? What code i need? and i tried to install eaccelerator-0.9.5.2.  :-[

Daniel15

barisaydiner, what version of PHP are you using? You might be using an old version that is not supported... That looks like a problem with PHP versions lower than 4.3.10.
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

barisaydiner

Quote from: Daniel15 on November 29, 2007, 08:27:12 PM
barisaydiner, what version of PHP are you using? You might be using an old version that is not supported... That looks like a problem with PHP versions lower than 4.3.10.

thank you I checked it, version is 4.3.9 :)
I hope  if i upgrede it I will solve it, thanks again. I will come back. :)

Daniel15

No problem :D
It is always recommended to use the latest PHP version, because security holes are often patched. So, you should be using either PHP 4.4.7 or 5.2.5. If you're using "yum" on CentOS to install PHP, I'd suggest to use the "RPMForge" repository, as it usually has the newest packages (the main CentOS ones get old quickly).
For CentOS 4 or Red Hat Enterprise Linux 4, run this command:

rpm -Uhv http://apt.sw.be/packages/rpmforge-release/rpmforge-release-0.3.6-1.el4.rf.i386.rpm

For CentOS or RHEL 5:
rpm -Uhv http://apt.sw.be/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm
This will set up the repository for use. Then just do something like yum install php php-devel (I think that's all, I'm not too experienced with CentOS, as my main distribution of choice is Debian)

More information on this repository: http://dag.wieers.com/rpm/
Hope this helps you :D
Daniel15, former Customisation team member, resigned due to lack of time. I still love everyone here :D.
Go to smfshop.com for SMFshop support, do NOT email or PM me!

Ricky.

Quote from: Ben_S on July 27, 2007, 06:49:37 AM
Quote from: littleone on July 25, 2007, 06:12:56 PM
My host just installed eAccelerator and here is what they gave me:

eAccelerator installed.
# php -v
PHP 4.4.6 (cli) (built: Apr 9 2007 23:03:01)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies
with eAccelerator v0.9.5.1, Copyright (c) 2004-2006 eAccelerator, by eAccelerator
with Zend Extension Manager v1.2.0, Copyright (c) 2003-2006, by Zend Technologies
with Zend Optimizer v3.2.2, Copyright (c) 1998-2006, by Zend Technologies

Now my question was, that when I check the Caching tab in the Admin panel it still says that SMF cannot find a compatible accelerator.  I went ahead and set it to level 1 anyways, but I wanted to make sure that wasnt a problem and if there was a way i could check to make sure it was working proper?  Thanks!

You hosts needs to compile it with --with-eaccelerator-content-caching or SMF won't be able to make use of it.

I installed accelerator few days back and I thought response time was improved but it was never detected by smf, then I recompiled it with  "--with-eaccelerator-content-caching " but still it is not visible in sMF caching option.

senicnok

Receipt these errors:

QuoteConfiguring for:
PHP Api Version:         20020918
Zend Module Api No:      20020429
Zend Extension Api No:   20050606
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF
environment variable is set correctly and then rerun this script.

and Php is :
Quote[root@ns1 eaccelerator-0.9.3]# php -v
PHP 4.4.7 (cli) (built: Jan  1 2008 06:05:58)
Copyright (c) 1997-2007 The PHP Group
Zend Engine v1.3.0, Copyright (c) 1998-2004 Zend Technologies

Please help. My board is almost 300MB & >400 vistors a day.

Thanks

青山 素子

Read the error carefully:

Quote from: senicnok on January 03, 2008, 09:22:48 PM
Cannot find autoconf. Please check your autoconf installation and the $PHP_AUTOCONF
environment variable is set correctly and then rerun this script.

That means you don't have the autoconf package installed. You will need to install this on your server. This can usually be done through "yum install autoconf" or "apt-get install autoconf".
Motoko-chan
Director, Simple Machines

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


Ricky.

Quote from: senicnok on January 03, 2008, 09:22:48 PM


Please help. My board is almost 300MB & >400 vistors a day.

Thanks


Well, thats true.. anyways.. do share what performance gain you saw after eaccelerator.. I hv a board something double of your specs.. and ya .. eaccelerator was helpful.. but still I cant' come closer to page creation time I see simplemachines.org/community page :P

青山 素子

What kind of specs is your server? Do keep in mind that we actually have separate servers for database and web. It helps a lot since you can tune each one for its role. When you combine functions on a single server, you have to compromise on things.
Motoko-chan
Director, Simple Machines

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


Advertisement: