Discussion in 'Server Configuration and Hosting' started by BamaStangGuy, Feb 11, 2014.
Is there an equivalent admin script to break down Zend OpCache stats like apc and xcache have?
https://github.com/PeeHaa/OpCacheGUI anyone have this working with nginx?
Bama, @MattW recently installed something to monitor this on my server, I'm using NGINX, hopefully he'll see this shortly.
I'm also using the script MattW suggested to me.
I've sent @BamaStangGuy the source via PC.
I've been using this little script https://gist.github.com/ck-on/4959032 on apache and now nginx. I wanted to use https://github.com/PeeHaa/OpCacheGUI
but it had some bugs at that time so I didn't want to hassle with it.
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
I am on FastCGI but I still get zero hits. Are you getting any hits after switching to FastCGI?
Yes. The switch did the trick for me. Did you enable everything in your php.ini and what is the output of your phpinfo?
It turned out I had to disable Xcache to make it work properly
Separate names with a comma.