[PHP-BUG] Bug #63555 [NEW]: errors outputed to stderr instead of logfile using fastcgi
From: daniel at produktion203 dot se Operating system: FreeBSD 9.0-RELEASE PHP version: 5.4.8 Package: FPM related Bug Type: Bug Bug description:errors outputed to stderr instead of logfile using fastcgi Description: PHP.ini values: error_reporting = E_ALL & ~E_NOTICE log_errors = On display_errors = Off error_log = /var/log/php-error.log Nginx fastcgi config: location ~ \.php$ { fastcgi_pass 127.0.0.1:9000; fastcgi_index index.php; fastcgi_param SCRIPT_FILENAME /home/www/xxx.xx$fastcgi_script_name; includefastcgi_params; } Using this pool-configuration: [xx-xx-widget] listen = 127.0.0.1:9000 user = xx-xx group = xx-xx pm = static pm.max_children = 50 pm.start_servers = 20 pm.min_spare_servers = 5 pm.max_spare_servers = 35 pm.status_path = /fpm-status.php php_admin_value[open_basedir] = /var/tmp:/home/www/apc:/home/www/.xx Expected result: /var/log/php-error.log: PHP Warning: file_get_contents(/usr/home/www/xxx.xxx/assets/img/widget/button_large_red.png): failed to open stream: No such file or directory in /usr/home/www/xxx.xx/button.php on line 67 Actual result: -- /var/log/nginx-error.log: 2012/11/18 21:27:03 [error] 82087#0: *146061423 FastCGI sent in stderr: "PHP message: PHP Warning: file_get_contents(/usr/home/www/xxx.xxx/assets/img/widget/button_large_red.png): failed to open stream: No such file or directory in /usr/home/www/xxx.xx/button.php on line 67" while reading response header from upstream, client: xxx.xxx.xxx.xxx, server: widget.xxx.xx, request: "GET /blogcounter/image?http://.blogspot.com/ HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "widget.xxx.xx", referrer: "http://xx.blogspot./"; -- Edit bug report at https://bugs.php.net/bug.php?id=63555&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=63555&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=63555&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=63555&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=63555&r=fixed Fixed in release: https://bugs.php.net/fix.php?id=63555&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=63555&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=63555&r=needscript Try newer version: https://bugs.php.net/fix.php?id=63555&r=oldversion Not developer issue:https://bugs.php.net/fix.php?id=63555&r=support Expected behavior: https://bugs.php.net/fix.php?id=63555&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=63555&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=63555&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=63555&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=63555&r=php4 Daylight Savings: https://bugs.php.net/fix.php?id=63555&r=dst IIS Stability: https://bugs.php.net/fix.php?id=63555&r=isapi Install GNU Sed:https://bugs.php.net/fix.php?id=63555&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=63555&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=63555&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=63555&r=mysqlcfg
Bug #51594 [Fbk->Csd]: open_basedir reports fatal error within allowed path
Edit report at http://bugs.php.net/bug.php?id=51594&edit=1 ID: 51594 User updated by: daniel at produktion203 dot se Reported by: daniel at produktion203 dot se Summary: open_basedir reports fatal error within allowed path -Status: Feedback +Status: Closed Type: Bug Package: Safe Mode/open_basedir Operating System: FreeBSD 8.0-RELEASE-p2 PHP Version: 5.3.2 New Comment: Just posting the solution to this problem if someone is having the same issue as me. The problem appeared to be due to eaccelerator, you have to add --without-eaccelerator-use-inode to your configargs in your Makefile for eaccelerator and reinstall and it will all be working like a charm again Previous Comments: [2010-05-12 16:06:57] m...@php.net Not enough information was provided for us to be able to handle this bug. Please re-read the instructions at http://bugs.php.net/how-to-report.php If you can provide more information, feel free to add it to this bug and change the status back to "Open". Thank you for your interest in PHP. [2010-04-22 09:32:13] daniel at produktion203 dot se Sorry but i only have live servers to work with so im not able to test this out anywhere :\ So my bugtracking help kind of ends when coming to installing new versions. But im guessing if it works for you it probably will for me too when the new version is released. [2010-04-22 02:15:07] fel...@php.net Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ [2010-04-19 00:01:37] daniel at produktion203 dot se Description: There seems to be some problem with open_basedir in php 5.3.2 for freebsd, i used the 5.2 branch before and the exact same config worked fine then. open_basedir reports failure eventhough im within the allowed paths Include paths in php.ini: include_path = ".:/usr/local/share/pear:/usr/local/lib/php/include" Testhost in apache: DocumentRoot "/home/customers/produktion203/testin.se" ServerName testin.se php_admin_value open_basedir /home/customers/produktion203/testin.se:/usr/local/share/pear:/usr/local/lib/php/include:/var/tmp Test script: --- http://bugs.php.net/bug.php?id=51594&edit=1
Bug #51594 [Fbk->Opn]: open_basedir reports fatal error within allowed path
Edit report at http://bugs.php.net/bug.php?id=51594&edit=1 ID: 51594 User updated by: daniel at produktion203 dot se Reported by: daniel at produktion203 dot se Summary: open_basedir reports fatal error within allowed path -Status: Feedback +Status: Open Type: Bug Package: Safe Mode/open_basedir Operating System: FreeBSD 8.0-RELEASE-p2 PHP Version: 5.3.2 New Comment: Sorry but i only have live servers to work with so im not able to test this out anywhere :\ So my bugtracking help kind of ends when coming to installing new versions. But im guessing if it works for you it probably will for me too when the new version is released. Previous Comments: [2010-04-22 02:15:07] fel...@php.net Please try using this snapshot: http://snaps.php.net/php5.3-latest.tar.gz For Windows: http://windows.php.net/snapshots/ [2010-04-19 00:01:37] daniel at produktion203 dot se Description: There seems to be some problem with open_basedir in php 5.3.2 for freebsd, i used the 5.2 branch before and the exact same config worked fine then. open_basedir reports failure eventhough im within the allowed paths Include paths in php.ini: include_path = ".:/usr/local/share/pear:/usr/local/lib/php/include" Testhost in apache: DocumentRoot "/home/customers/produktion203/testin.se" ServerName testin.se php_admin_value open_basedir /home/customers/produktion203/testin.se:/usr/local/share/pear:/usr/local/lib/php/include:/var/tmp Test script: --- http://bugs.php.net/bug.php?id=51594&edit=1
[PHP-BUG] Bug #51594 [NEW]: open_basedir reports fatal error within allowed path
From: Operating system: FreeBSD 8.0-RELEASE-p2 PHP version: 5.3.2 Package: Safe Mode/open_basedir Bug Type: Bug Bug description:open_basedir reports fatal error within allowed path Description: There seems to be some problem with open_basedir in php 5.3.2 for freebsd, i used the 5.2 branch before and the exact same config worked fine then. open_basedir reports failure eventhough im within the allowed paths Include paths in php.ini: include_path = ".:/usr/local/share/pear:/usr/local/lib/php/include" Testhost in apache: DocumentRoot "/home/customers/produktion203/testin.se" ServerName testin.se php_admin_value open_basedir /home/customers/produktion203/testin.se:/usr/local/share/pear:/usr/local/lib/php/include:/var/tmp Test script: --- http://bugs.php.net/bug.php?id=51594&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=51594&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=51594&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=51594&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=51594&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=51594&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=51594&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=51594&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=51594&r=needscript Try newer version: http://bugs.php.net/fix.php?id=51594&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=51594&r=support Expected behavior: http://bugs.php.net/fix.php?id=51594&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=51594&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=51594&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=51594&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=51594&r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=51594&r=dst IIS Stability: http://bugs.php.net/fix.php?id=51594&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=51594&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=51594&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=51594&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=51594&r=mysqlcfg