3

I installed php5.5 to my CentOS DirectAdmin server.

I used this http://help.directadmin.com/item.php?id=567 to install OPcache en set it to yes.

I did enable OPcache also in my php.ini file with opcache.enable=1.

But when I check my phpinfo() it is displayed like this:

enter image description here

So is it enabled now or not, because Opcode Caching is disabled but opcache.enable is On?

All changes I made in the php.ini file, are saved and I see them in my phpinfo(). But Opcode Caching is still disabled.

JGeer
  • 1,768
  • 1
  • 31
  • 75
  • Did you restart PHP so that config is reloaded? Are you sure you dedited correct php.ini file? phpinfo() output should tell you which file it is using. – jedrzej.kurylo Jul 19 '15 at 15:34
  • @jedrzej.kurylo Yes I did restart PHP and I checked the correct php.ini file. I edit that php.ini file, but I still do see this result – JGeer Jul 19 '15 at 15:37
  • Just to be clear, did you restart the web server (ie Apache?). – Spudley Aug 15 '15 at 19:50

1 Answers1

0

maybe you edited wrong php.ini file! try to find your php.ini file with this command /usr/local/bin/php -i | grep 'Loaded Configuration File'

sIiiS
  • 195
  • 1
  • 1
  • 11