There is php-fpm and opcache (downloaded and compiled from php.net)
opcache.enable = 1
opcache.use_cwd = 1
zend_extension=opcache.so
php-fpm profiles run in chroot, i.e. /home/user1/www/index.php -> /www/index.php, /home/user2/www/index.php -> /www/index.php , whats what index.php see in both cases.
user1 have installed wordpress. user2 have custom index.php.
user1's index.php was executed before user2's index.php .
In such case when i'm calling index.php from user2 folder i see compiled output of index.php from user1 folder.
Current solution: i can run different PHPs per user OR i must kill my beautiful structure /home/user1/www to /home/user1/user1www/ cause opcache need to see differ paths. Or i disable opcache, but it affect perfomance.
Is there a way to keep /home/user1/www, /home/user2/www etc and let opcache work correctly?