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. 2017-11-07, 21:29:40

Author Topic: Cara mengaktifkan PHP OPcache di kloxomr  (Read 1526 times)

0 Members and 1 Guest are viewing this topic.

Offline bugis

  • Valuable Member
  • *
  • Posts: 113
  • Karma: +0/-0
    • View Profile
Cara mengaktifkan PHP OPcache di kloxomr
« on: 2016-05-03, 19:45:20 »
OPcache sudah saya install di php 5.6
saya cari konfigurasinya di etc /php.ini tidak ada baris seperti ini :

[opcache]
; Determines if Zend OPCache is enabled
opcache.enable=1


Mohon bantuannya.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Cara mengaktifkan PHP OPcache di kloxomr
« Reply #1 on: 2016-05-03, 20:51:42 »
Tergantung anda pakai 'php branch' atau 'multiple php' (phpXYm).

Untuk 'php branch', lihat di /etc/php.d.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bugis

  • Valuable Member
  • *
  • Posts: 113
  • Karma: +0/-0
    • View Profile
Re: Cara mengaktifkan PHP OPcache di kloxomr
« Reply #2 on: 2016-05-04, 00:19:52 »
A. Kloxo-MR: 6.5.0.f-2015083001

B. OS: CentOS release 6.5 (Final) i686

C. Apps:
   1. MySQL: mysql55-5.5.46-1.ius.el6.i686
   2. PHP: --uninstalled--
   3. Httpd: httpd-2.2.31-1.mr.el6.i386
   4. Lighttpd: --uninstalled--
   5. Nginx: nginx-1.7.10-1.el6.ngx.i386
   6. Qmail: qmail-toaster-1.03-1.3.55.mr.el6.i386
      - with: courier-imap-toaster-4.1.2-1.3.18.mr.el6.i386
   7. Dns: djbdns-1.05-17.4.mr.el6.i386

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

saya convert php 5.3 ke php5.6 dan install opcache.

tapi saya cek /etc/php.d (kosong)

dimana letak untuk edit file dibawah :
[opcache]
; Determines if Zend OPCache is enabled
opcache.enable=1

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Cara mengaktifkan PHP OPcache di kloxomr
« Reply #3 on: 2016-05-04, 01:50:53 »
Coba periksa dengan 'php -m' untuk lihat apa sudah masuk dalam daftar module.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline bugis

  • Valuable Member
  • *
  • Posts: 113
  • Karma: +0/-0
    • View Profile
Re: Cara mengaktifkan PHP OPcache di kloxomr
« Reply #4 on: 2016-05-04, 13:34:29 »
sudah masuk pak

[Zend Modules]
Zend OPcache
the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured)

Offline bugis

  • Valuable Member
  • *
  • Posts: 113
  • Karma: +0/-0
    • View Profile
Re: Cara mengaktifkan PHP OPcache di kloxomr
« Reply #5 on: 2016-05-08, 02:25:50 »
sudah masuk  di daftarr module :

[Zend Modules]
Zend OPcache
the ionCube PHP Loader (enabled) + Intrusion Protection from ioncube24.com (unconfigured)

tapi saya cari konfigurasi opcache di etc /php.ini tidak ada baris seperti ini :

[opcache]
; Determines if Zend OPCache is enabled
opcache.enable=1

mohon bantuannya.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,381
  • Karma: +112/-9
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: Cara mengaktifkan PHP OPcache di kloxomr
« Reply #6 on: 2016-05-08, 02:48:03 »
Jika sudah terlihat di daftar module biasanya sudah enable.

Ingat, config untuk module adalah dalam file .ini terpisah. Cari file opcache.ini atau 10-opcache.ini di directory /etc/php.d
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.04 seconds with 17 queries.

web stats analysis
 
Mirror created by MasterkinG32.CoM