Edit report at https://bugs.php.net/bug.php?id=63625&edit=1
ID: 63625 Comment by: germain dot pavot at gmail dot com Reported by: germain dot pavot at gmail dot com Summary: zend_compile_file wrong path file Status: Feedback Type: Bug Package: Scripting Engine problem Operating System: Debian Squeeze PHP Version: 5.4.9 Block user comment: N Private report: N New Comment: No problem without xcache... So it's a xcache problem :/ Previous Comments: ------------------------------------------------------------------------ [2012-11-27 14:30:46] [email protected] Disable xcache and try again, if the problem appears again pls post the new info here again. ------------------------------------------------------------------------ [2012-11-27 13:34:23] germain dot pavot at gmail dot com Description: ------------ Intialy reported on Xcache bugtracker (http://xcache.lighttpd.net/ticket/291) but after search it have a problem with php-fpm and zend function "zend_compile_file". On my architecture : - lot of virtual host with unix rights isolation. Vhost1 cannot access to Vhost2 files. - all virtual host files shared by Nfsv4 server - All files is on symbolic link: /var/www/ => /home/nfs/www/ (Retro compatibility on architecture) - php 5.4.9 (same bug with previous version) compiled by dotdeb - Xcache version 3 (all versions are affected by bug). The visual problem : - Random 500 error with this message for exemple : [07-Nov-2012 12:27:38 Europe/Paris?] PHP Warning: include_once(/home/nfs/www/www.website1.com/httpdocs/classes/../classes/MySQL.ph p) : failed to open stream: Permission denied in /home/nfs/www/www.website2.com/httpdocs/classes/Db.php on line 17 PHP confuse a SAME file in two different folders... So for debug I have actived trace message and I see wrong information come from call function zend_compile_file. Test script: --------------- PHP-FPM with 2 vhost with the same CMS Expected result: ---------------- [pool pool1] child 8849 said into stderr: "xc_cacher.c:2172: xc_compile_file: type=0 name=/home/nfs/www/www.pool1.com/httpdocs/footer.php" Actual result: -------------- [pool pool1] child 8849 said into stderr: "xc_cacher.c:2172: xc_compile_file: type=0 name=/home/nfs/www/www.pool2.com/httpdocs/footer.php" [pool pool1] child 8849 said into stderr: "xc_cacher.c:2188: failed to init key for /home/nfs/www/www.pool2.com/httpdocs/footer.php ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=63625&edit=1
