Edit report at https://bugs.php.net/bug.php?id=63625&edit=1
ID: 63625 Updated by: [email protected] Reported by: germain dot pavot at gmail dot com Summary: zend_compile_file wrong path file -Status: Feedback +Status: Not a bug Type: Bug -Package: Scripting Engine problem +Package: *General Issues Operating System: Debian Squeeze PHP Version: 5.4.9 Block user comment: N Private report: N New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. Not PHP issue.. Previous Comments: ------------------------------------------------------------------------ [2012-11-27 15:15:10] germain dot pavot at gmail dot com No problem without xcache... So it's a xcache problem :/ ------------------------------------------------------------------------ [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
