Sponsor:

Server and Web Integrator
Link:
Kloxo-MR logo
6.5.0 or 7.0.0
Click for "How to install"
Donation/Sponsorship:
Kloxo-MR is open-source.
Donate and or Sponsorship always welcome.
Click to:
Click Here
Please login or register. 2024-04-20, 11:59:50

Author Topic: How to install Php APC Extension  (Read 4438 times)

0 Members and 1 Guest are viewing this topic.

Offline matt

  • Junior Member
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
How to install Php APC Extension
« on: 2014-01-14, 14:13:58 »
Hello,

I need to install Php APC Extension but it seem it can't be done easily with this CP, any help?

Thanks.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: How to install Php APC Extension
« Reply #1 on: 2014-01-14, 14:21:14 »
It's better using xcache rather then APC.

For xcache, run 'yum install php53u-xcache; sh /script/restart-web' (with assumption you choose php53u in 'php branch' in 'webserver config'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline matt

  • Junior Member
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: How to install Php APC Extension
« Reply #2 on: 2014-01-15, 09:49:29 »
with assumption you choose php53u in 'php branch' in 'webserver config'.
Then, How to determine it? (just to make sure)

PS: this is my sysinfo
Code: [Select]
A. Kloxo-MR: 6.5.0.f-2014011001

B. OS: CentOS release 5.10 (Final) x86_64

C. Apps:
   1. MySQL: mysql55-5.5.35-1.ius.el5
   2. PHP: php53u-5.3.28-1.ius.el5
   3. Httpd: httpd-2.2.26-1.el5
   4. Lighttpd: --uninstalled--
   5. Nginx: --uninstalled--
   6. Qmail: qmail-toaster-1.03-1.3.29.mr.el5
      - with: courier-imap-toaster-4.1.2-1.3.14.mr.el5
   7. Dns: bind-9.9.4-1.P1.el5

D. Php-type (for Httpd/proxy):

E. Memory:
                total       used       free     shared    buffers     cached
   Mem:          1024        434        589          0          0        166
   -/+ buffers/cache:        267        756
   Swap:         1024          0       1023
« Last Edit: 2014-01-15, 09:55:18 by matt »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: How to install Php APC Extension
« Reply #3 on: 2014-01-15, 11:47:34 »
See '2. PHP: php53u-5.3.28-1.ius.el5'. It's mean you are using php53u branch.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline ebokalsel

  • Junior Member
  • *
  • Posts: 41
  • Karma: +1/-0
    • View Profile
Re: How to install Php APC Extension
« Reply #4 on: 2014-01-15, 13:39:51 »
apc most likely going to rapidly crash and high cpu load with php53u (based on personal experiences).

But i you insist to use APC, you can install it with pecl.

Just type

Code: [Select]
pecl install apc
and then you can adjust your apc setting in /etc/php.d/apc.ini

p/s:

you can also install ZendOPCache with pecl install zendopcache-7.0.2 (latest version)... It's works better than apc (in my opinion)

 


MRatWork Affiliates:    BIGRAF(R) Inc.    House of LMAR    EFARgrafix
Click Here

Page created in 0.039 seconds with 21 queries.

web stats analysis