1

I run Apache 2.4.10 with PHP 7.1.17 on my Debian 8.10 server. When I try to enable opcache in a vhost the changed setting isn't applied.
If I enable opcache globally in the php.ini everything is working as expected. I also checked that php settings applied in a vhost are (usually) applied after the reload. In my case I set opcache.file_cache which worked.

oivlis111
  • 21
  • 4

1 Answers1

0

Seems I found my problem: I already set opcache.enable to 0 in the php.ini. When I commented the line out, the apache config worked.

oivlis111
  • 21
  • 4