1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Zend OpCache Stats

Discussion in 'Server Configuration and Hosting' started by BamaStangGuy, Feb 11, 2014.

  1. BamaStangGuy

    BamaStangGuy Well-Known Member

    Is there an equivalent admin script to break down Zend OpCache stats like apc and xcache have?
  2. p4guru

    p4guru Well-Known Member

  3. BamaStangGuy

    BamaStangGuy Well-Known Member

  4. Null

    Null Well-Known Member

    Bama, @MattW recently installed something to monitor this on my server, I'm using NGINX, hopefully he'll see this shortly.
    MattW and BamaStangGuy like this.
  5. RoldanLT

    RoldanLT Well-Known Member

    I'm also using the script MattW suggested to me.
    MattW likes this.
  6. Null

    Null Well-Known Member

    MattW likes this.
  7. nemke

    nemke Member

  8. woei

    woei Well-Known Member

    Maybe a silly question, but according to my phpinfo is Zend Opcache running, BUT only 1 file is cached, no cache hits. This information says to me that it's not working. I browsed some websites including my xenforo forum on the server so it should add some files to the cache, but it's still zero hits and 1 file cached. Restarting apache doesn't help.

    My php.ini looks like this regarding opcache:

    Phpinfo also tells me these values are active. What am I overlooking?

    Fixed. Caching does not work under suPHP. Need to use FastCGI, DSO or CGI as PHP handler. So I went with FastCGI and everything is more speedy now :) Happy :p
    Last edited: Mar 14, 2014
  9. jacko

    jacko Active Member

    I am on FastCGI but I still get zero hits. Are you getting any hits after switching to FastCGI?
  10. woei

    woei Well-Known Member

    Yes. The switch did the trick for me. Did you enable everything in your php.ini and what is the output of your phpinfo?
  11. jacko

    jacko Active Member

    It turned out I had to disable Xcache to make it work properly :)

Share This Page