Bug #67141 [NEW]: PHP FPM vhost pollution

From: Date: Mon, 28 Apr 2014 10:46:00 +0000
Subject: Bug #67141 [NEW]: PHP FPM vhost pollution
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185469@lists.php.net to get a copy of this message
From: power2all at gmail dot com Operating system: ubuntu 14.04 PHP version: 5.5.11 Package: FPM related Bug Type: Bug Bug description:PHP FPM vhost pollution Description: ------------ PHP Version: 5.5.9-1ubuntu4 (Ubuntu 14.04 apt version) Description: When using 1 master process and multiple pool processes, when using chroot and prefix options, the pools individually will pollute each other. A website with phpBB3 will eventually read out a website with wordpress in between. A possible inter-exchange of variables might occure, or something similar. For example: PHP message: PHP Fatal error: require_once(): Failed opening required '/public_html/wp-includes/pomo/mo.php' (include_path='.:/usr/share/php:/usr/share/pear') in /public_html/wp-includes/load.php on line 731" while reading response header from upstream, client: 80.82.71.7, server: anirena.com, request: "GET / HTTP/1.0", upstream: "fastcgi://127.0.0.1:5002", host: "www.anirena.com" This site runs phpBB3 and not Wordpress. When you refresh the website, sometimes it loads fine, and sometimes it doesn't. Even with all modules disabled, it does this problem. Here my configurations: http://p.ngx.cc/84c66229a899aae5 I made some changes as to apply this: prefix = /home/anirena chroot = $prefix chdir = / The fastcgi_params file has a small modification to allow it to load properly chrooted content. Site does load, but with multiple pools, it gets polluted. Expected result: ---------------- Only work-around right now, is having multiple master processes with 1 pool linked to it. This ain't a good fix, but it works for now, until the pool pollution issue is found and fixed, or if I made a configuration error. -- Edit bug report at https://bugs.php.net/bug.php?id=67141&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=67141&r=trysnapshot54 Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=67141&r=trysnapshot55 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=67141&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=67141&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=67141&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=67141&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=67141&r=needscript Try newer version: https://bugs.php.net/fix.php?id=67141&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=67141&r=support Expected behavior: https://bugs.php.net/fix.php?id=67141&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=67141&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=67141&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=67141&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=67141&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=67141&r=dst IIS Stability: https://bugs.php.net/fix.php?id=67141&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=67141&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=67141&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=67141&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=67141&r=mysqlcfg

« previous php.bugs (#185469) next »