openswoole / ext-openswoole

Programmatic server for PHP with async IO, coroutines and fibers
https://openswoole.com
Apache License 2.0
798 stars 49 forks source link

Question: should opcache be enabled? #348

Open vanodevium opened 8 months ago

vanodevium commented 8 months ago

According to the nature of how openswoole works, is it necessary to enable opcache? Will there really be a speed boost?

Sorry, I haven't slack or discord to ask it there.

twomiao commented 8 months ago

According to the nature of how openswoole works, is it necessary to enable opcache? Will there really be a speed boost? Sorry, I haven't slack or discord to ask it there.

Using OpenSwoole does not require opcache. Opcache must be disabled.

bitslip6 commented 3 months ago

Wait, is swoole incompatible with PHP OpCache ?