Skip to content

PHP opcache leads to slow reloads #47

@victorandree

Description

@victorandree

My machine: OS X Yosemite Beta 2, Vagrant 1.6.5 using VirtualBox as a provider.

I'm finding that PHP's opcache setting means it takes about 60 seconds for any change to a PHP file to be "picked up" when developing using synced folders. Changes to any other synced file are picked up instantly, and it's not related to caching in the browser.

Disabling the opcache in /etc/php5/fpm/php.ini (opcache.enable = 0) lead to instant reloads, as expected.

If anyone else is experiencing this, perhaps the opcache could be disabled during development?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions