Installing the right PHP Accelerator

I ran <host tools> from Admin and all returned OK! But I noticed a suggestion that Dolphin can be much faster if you install some PHP accelerator..

I tried to rebuild <EasyApache> to see if I can enable Accelerator, but I couldn't see it, so I am assuming it is not installed. Next, I wanted to install it but not sure which PHP Accelerator I need to install..

And from my Admin panel, I see the report below <Memcache> <APC> or <XCache>  are not installed. And during 
<EasyApache> rebuild I noticed XCache is not enabled and not sure if I should enable it because it will disable 
EAccelerator 0.9.6.1 for PHP Opcache 

CACHE
Clear Cache · Cache Engines · Settings
 
  Installed Cache Support
File Yes Yes
Memcache No No
APC No No
XCache No No

My OS info:
CentOS Linux release 7.1.1503 (Core)
NAME="CentOS Linux"
VERSION="7 (Core)"
ID="centos"
ID_LIKE="rhel fedora"
VERSION_ID="7"
PRETTY_NAME="CentOS Linux 7 (Core)"
ANSI_COLOR="0;31"
CPE_NAME="cpe:/o:centos:centos:7"
HOME_URL="https://www.centos.org/"
BUG_REPORT_URL="https://bugs.centos.org/"
CENTOS_MANTISBT_PROJECT="CentOS-7"
CENTOS_MANTISBT_PROJECT_VERSION="7"
REDHAT_SUPPORT_PRODUCT="centos"
REDHAT_SUPPORT_PRODUCT_VERSION="7"
CentOS Linux release 7.1.1503 (Core)
My php info:
Zend OPcache requires Zend Engine API version 220121212.
The Zend Engine API version 220131226 which is installed, is newer.
Contact Zend Technologies at http://www.zend.com/ for a later version of Zend OPcache.

PHP 5.6.15 (cli) (built: Nov 15 2015 19:21:00)
Copyright (c) 1997-2015 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2015 Zend Technologies
    with the ionCube PHP Loader v4.7.5, Copyright (c) 2002-2014, by ionCube Ltd., and
    with Zend OPcache v7.0.6-dev, Copyright (c) 1999-2015, by Zend Technologies
    with Zend Guard Loader v3.3, Copyright (c) 1998-2014, by Zend Technologies


My Dolphin Version

Running D7.1.6

I have a dedicated server and trying to optimize it for Dolphin as much as possible. I'd appreciate your input for any suggestion you have to install the right php Accelerator and any advise to further optimize my server.

Thank you !
 
Quote · 16 Nov 2015

Don't use XCache. Use APCu (install it from WHM's module installer => PECL) with OPCache (enabled from the exhaustive options screen in EasyApache), and make sure to configure both after. Dolphin will fly.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 16 Nov 2015

Newer versions of PHP are coming with the op cache built in.

Geeks, making the world a better place
Quote · 16 Nov 2015

Thanks Nathan. You gave me the right direction as to what to look for and got it working successfully  :)

Please note, I couldn't  find PECL on WHM, but here is what I did if anyone is trying to apply the same process, which I got from this link:  http://tinyurl.com/o6dwzl7

 

1. INSTALL PACKAGES

Login via SSH as "root" user on your cPanel server and execute the following commands:

 

$ yum install pcre-devel        (this package was already installed on my system)

$ pecl install apcu-beta         (apcu was not installed on my system)

 

Restart Apache via WHM

 

Edit php.ini and add apcu parameters below

[apcu] 

apc.enabled = 1 

apc.shm_size = 256M              # note, in my case I doubled this value to 512M since I have 32G RAM

 

Restart Apache via WHM.

 

Please note, this time, when I tried to rebuild Apache, I did see [OPCache] already enabled. So I went ahead and rebuilt Apache again with OPCache checked just to make sure it is part of Apache configuration.


But, after I ran [hosts tools] from Admin again, I still see the same warning:

WARNING (installing PHP accelerator will speed-up file cache)
WARNING (Dolphin can be much faster if you install some PHP accelerator))
 

I am a bit confused - isn't APCu considered an Accelerator tool ? I was hoping to see this warning GONE after  I enabled php OPCache  - Is there anything else I need to do to remove this warning ?  unless I am missing something..

One more thing, I also checked [Cache Engines] via Admin, I still see APC not installed.. But I thought I just installed it.. Now, I am totally confused Undecided

APC No No



Correction -

After I cleared out the cache, now the warning is gone and I can see [APC] installed - All good ! Sorry for the confusions Smile 
 

APC Yes Yes

 


Thanks again ! 

 

Quote · 16 Nov 2015

Nathan, Is this accelerator aleady built in when hosted with Zarconia or does it need adding to our own files?

TIA

 

Ed

It ain't easy being this stupid all of the time
Quote · 16 Nov 2015

 

Nathan, Is this accelerator aleady built in when hosted with Zarconia or does it need adding to our own files?

TIA

 

Ed

These are questions that should be sent to us directly from our client area. But for shared, our newest servers run PHP 5.5 with OPCache and APCu. This will roll out soon to the default PHP build on other servers, or can be done now with the PHP Selector in cPanel. For dedicated servers, OPCache and APCu are installed on recent setups, while APC is available on older setups. If OPCache is available but not APCu, or to switch to a newer PHP build with both, open a ticket with us, and we'll make the needed changes.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 16 Nov 2015
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.