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-05-16, 08:45:33

Author Topic: opcache missing  (Read 2451 times)

0 Members and 1 Guest are viewing this topic.

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
opcache missing
« on: 2016-09-26, 20:27:39 »
I am on version Kloxo-MR 7.0.0.b-2016092502

I've enabled opcache in "PHP Module Status". Then I sh /script/restart-all and got the following errors.
Code: [Select]
Starting php54m-fpm (Multiple Php): Failed loading /opt/php54m/usr/lib64/php/modules/usr/lib64/php/modules/opcache.so:  /opt/php54m/usr/lib64/php/modules/usr/lib64/php/modules/opcache.so: cannot open shared object file: No such file or directory
                                                           [  OK  ]
Starting php55m-fpm (Multiple Php): Failed loading /opt/php55m/usr/lib64/php/modules/usr/lib64/php/modules/opcache.so:  /opt/php55m/usr/lib64/php/modules/usr/lib64/php/modules/opcache.so: cannot open shared object file: No such file or directory
                                                           [  OK  ]
Starting php56m-fpm (Multiple Php): Failed loading /opt/php56m/usr/lib64/php/modules/usr/lib64/php/modules/opcache.so:  /opt/php56m/usr/lib64/php/modules/usr/lib64/php/modules/opcache.so: cannot open shared object file: No such file or directory
                                                           [  OK  ]
Starting php70m-fpm (Multiple Php): Failed loading /opt/php70m/usr/lib64/php/modules/usr/lib64/php/modules/opcache.so:  /opt/php70m/usr/lib64/php/modules/usr/lib64/php/modules/opcache.so: cannot open shared object file: No such file or directory
« Last Edit: 2016-09-26, 20:31:05 by LotsOfQ »

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: opcache missing
« Reply #1 on: 2016-09-26, 20:43:27 »
Change '/opt/php54m/usr/lib64/php/modules/usr/lib64/php/modules/opcache.so' to 'zend_extension=/opt/php54m/usr/lib64/php/modules/opcache.so' inside '/opt/php54m/etc/php.d/opcache_used.ini'.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: opcache missing
« Reply #2 on: 2016-09-26, 20:57:40 »
That work perfectly. Thanks.

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: opcache missing
« Reply #3 on: 2016-09-27, 15:06:24 »
After having opcache running, I ended up turning it back off. The reason is for some reasons after awhile the blank page thing happened again. Then I have to restart-all to get my website back. So I trace back and turn off opcache and no more blank page happening by random anymore.

Offline MRatWork

  • Administrator
  • The Elite
  • *****
  • Posts: 15,807
  • Karma: +119/-11
  • Gender: Male
    • View Profile
    • MRatWork Forum
Re: opcache missing
« Reply #4 on: 2016-09-27, 15:13:03 »
After having opcache running, I ended up turning it back off. The reason is for some reasons after awhile the blank page thing happened again. Then I have to restart-all to get my website back. So I trace back and turn off opcache and no more blank page happening by random anymore.
Using apc/apcu instead opcache.
..:: MRatWork (Mustafa Ramadhan Projects) ::..
-- Server/Web-integrator - Web Hosting (Kloxo-MR READY!) --

Offline LotsOfQ

  • Master
  • **
  • Posts: 462
  • Karma: +1/-0
    • View Profile
Re: opcache missing
« Reply #5 on: 2016-09-27, 16:56:46 »
Maybe that was the problem. I had them all enabled. You can't use them all at the same time?

 


Top 4 Global Search Engines:    Google    Bing    Baidu    Yahoo

Page created in 0.062 seconds with 22 queries.

web stats analysis