[PHP-BUG] Bug #62038 [NEW]: apache2 + fpm is incompatible with mod_cache, mod_mem_cache
From: Operating system: Linux PHP version: 5.3.13 Package: FPM related Bug Type: Bug Bug description:apache2 + fpm is incompatible with mod_cache, mod_mem_cache Description: when you install apache2 and configure php5-fpm and now so execute a2enmod mem_cache modul will be loaded but apache cache didn't work with FPM (all request will be handeled by FPM... none where use mem_cache) Test script: --- after setup try this -- Edit bug report at https://bugs.php.net/bug.php?id=62038&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=62038&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=62038&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=62038&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=62038&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=62038&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=62038&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=62038&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=62038&r=needscript Try newer version: https://bugs.php.net/fix.php?id=62038&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=62038&r=support Expected behavior: https://bugs.php.net/fix.php?id=62038&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=62038&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=62038&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=62038&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=62038&r=php4 Daylight Savings:https://bugs.php.net/fix.php?id=62038&r=dst IIS Stability: https://bugs.php.net/fix.php?id=62038&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=62038&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=62038&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=62038&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=62038&r=mysqlcfg
#50213 [NEW]: impossible to delete header
From: svecpetr at svecpetr dot com Operating system: linux PHP version: 5.3.0 PHP Bug Type: Output Control Bug description: impossible to delete header Description: when you or php calls header(XY) is impossible to delete this header (yes can overwrite it... but cant delete it) PS: headers are not sent to client Reproduce code: --- try this php.ini set output_buffering = ob_gzhandler index.php client writes encoding mismatch... because in index.php is impossible to delete header Vary and Content-Encoding Expected result: if exists function header_list why doesnt exists function header_delete Actual result: -- see above -- Edit bug report at http://bugs.php.net/?id=50213&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50213&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50213&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50213&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50213&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50213&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50213&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50213&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50213&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50213&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50213&r=support Expected behavior: http://bugs.php.net/fix.php?id=50213&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50213&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50213&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50213&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50213&r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=50213&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50213&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50213&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50213&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50213&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50213&r=mysqlcfg
#50567 [NEW]: cron execution with safe-mode fails on file_exists
From: svecpetr at svecpetr dot com Operating system: freebsd PHP version: 5.2SVN-2009-12-24 (snap) PHP Bug Type: Filesystem function related Bug description: cron execution with safe-mode fails on file_exists Description: read how reproduce this bug FIRST!!! try execute file_exists($_SERVER['SCRIPT_FILENAME']); $_SERVER['SCRIPT_FILENAME'] is '/DISK2/WWW/xxx.cz/www/index.php' it fails with error: Warning: file_exists(): open_basedir restriction in effect. File(underconstruction.html) is not within the allowed path(s): (/DISK2/WWW:/DISK3/WWW:/DISK2/TMP:/NET:/tmp) in /DISK2/WWW/xxx.cz/www/index.php on line 7 Reproduce code: --- --- >From manual page: function.file-exists#Description --- safe-mode ON execute script by CRON, means $_SERVER['REMOTE_ADDR'] is empty get of getcwd() returns '/' Expected result: why should I change chdir('/DISK2/WWW/xxx.cz/www/') before use of function file_exists($_SERVER['SCRIPT_FILENAME']); or file_exists('/DISK2/WWW/xxx.cz/www/index.php') when I ask this function for file that is IN ALLOWED PATH Actual result: -- correct file_exists function -- Edit bug report at http://bugs.php.net/?id=50567&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=50567&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=50567&r=trysnapshot53 Try a snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=50567&r=trysnapshot60 Fixed in SVN: http://bugs.php.net/fix.php?id=50567&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=50567&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=50567&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=50567&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=50567&r=needscript Try newer version: http://bugs.php.net/fix.php?id=50567&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=50567&r=support Expected behavior: http://bugs.php.net/fix.php?id=50567&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=50567&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=50567&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=50567&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=50567&r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=50567&r=dst IIS Stability: http://bugs.php.net/fix.php?id=50567&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=50567&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=50567&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=50567&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=50567&r=mysqlcfg
#50567 [Fbk->Opn]: cron execution with safe-mode fails on file_exists
ID: 50567 User updated by: svecpetr at svecpetr dot com Reported By: svecpetr at svecpetr dot com -Status: Feedback +Status: Open Bug Type: Safe Mode/open_basedir Operating System: freebsd PHP Version: 5.2SVN-2009-12-24 (snap) New Comment: just read :o) open_base dir is: /DISK2/WWW:/DISK3/WWW:/DISK2/TMP:/NET:/tmp error message is: Warning: file_exists(): open_basedir restriction in effect. File('/DISK2/WWW/xxx.cz/www/index.php') is not within the allowed path(s): (/DISK2/WWW:/DISK3/WWW:/DISK2/TMP:/NET:/tmp) in /DISK2/WWW/xxx.cz/www/index.php on line 7 Previous Comments: [2009-12-24 23:22:54] j...@php.net What is the exact error you get with exactly what line of code? And what is open_basedir set to? (EXACTLY..) [2009-12-24 09:36:30] svecpetr at svecpetr dot com Description: read how reproduce this bug FIRST!!! try execute file_exists($_SERVER['SCRIPT_FILENAME']); $_SERVER['SCRIPT_FILENAME'] is '/DISK2/WWW/xxx.cz/www/index.php' it fails with error: Warning: file_exists(): open_basedir restriction in effect. File(underconstruction.html) is not within the allowed path(s): (/DISK2/WWW:/DISK3/WWW:/DISK2/TMP:/NET:/tmp) in /DISK2/WWW/xxx.cz/www/index.php on line 7 Reproduce code: --- --- >From manual page: function.file-exists#Description --- safe-mode ON execute script by CRON, means $_SERVER['REMOTE_ADDR'] is empty get of getcwd() returns '/' Expected result: why should I change chdir('/DISK2/WWW/xxx.cz/www/') before use of function file_exists($_SERVER['SCRIPT_FILENAME']); or file_exists('/DISK2/WWW/xxx.cz/www/index.php') when I ask this function for file that is IN ALLOWED PATH Actual result: -- correct file_exists function -- Edit this bug report at http://bugs.php.net/?id=50567&edit=1
[PHP-BUG] Bug #54211 [NEW]: delimiter ends with syntax error
From: Operating system: linux PHP version: 5.2.17 Package: MySQL related Bug Type: Bug Bug description:delimiter ends with syntax error Description: in mysql_query is impossible to execute command DELIMITER | for example mysql_query('DELIMITER |'); this ends with mysql syntax error 1064 ... when delimiter is not function... is impossible to run command CREATE TRIGGER because at the end of this command is always ... ; END ... --- >From manual page: http://www.php.net/function.mysql-query#Description --- Test script: --- mysql_query('DELIMITER |'); mysql_query('SHOW TABLES|'); mysql_query('DELIMITER ;'); Expected result: enable delimiter -- Edit bug report at http://bugs.php.net/bug.php?id=54211&edit=1 -- Try a snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=54211&r=trysnapshot52 Try a snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=54211&r=trysnapshot53 Try a snapshot (trunk): http://bugs.php.net/fix.php?id=54211&r=trysnapshottrunk Fixed in SVN: http://bugs.php.net/fix.php?id=54211&r=fixed Fixed in SVN and need be documented: http://bugs.php.net/fix.php?id=54211&r=needdocs Fixed in release: http://bugs.php.net/fix.php?id=54211&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=54211&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=54211&r=needscript Try newer version: http://bugs.php.net/fix.php?id=54211&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=54211&r=support Expected behavior: http://bugs.php.net/fix.php?id=54211&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=54211&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=54211&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=54211&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=54211&r=php4 Daylight Savings:http://bugs.php.net/fix.php?id=54211&r=dst IIS Stability: http://bugs.php.net/fix.php?id=54211&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=54211&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=54211&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=54211&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=54211&r=mysqlcfg