Req #60760 [PATCH]: Converting zend_parse_parameters() to zend_parse_parameters_none()
Edit report at https://bugs.php.net/bug.php?id=60760&edit=1 ID: 60760 Patch added by: dragoo...@php.net Reported by:dragoo...@php.net Summary:Converting zend_parse_parameters() to zend_parse_parameters_none() Status: Open Type: Feature/Change Request Package:SPL related Operating System: N/A PHP Version:5.4.0RC5 Block user comment: N Private report: N New Comment: The following patch has been added/updated: Patch Name: spl_dllist_zend_parse_parameters_none.diff Revision: 1326598407 URL: https://bugs.php.net/patch-display.php?bug=60760&patch=spl_dllist_zend_parse_parameters_none.diff&revision=1326598407 Previous Comments: [2012-01-15 03:32:21] dragoo...@php.net Description: Half of the file base uses zend_parse_parameters() to check if theres no params passed. Half of the file already uses zend_parse_parameters_none(). The work done here just updates zend_parse_parameters() calls to zend_parse_parameters_none() where necessary. Test script: --- N/A Expected result: N/A Actual result: -- N/A -- Edit this bug report at https://bugs.php.net/bug.php?id=60760&edit=1
[PHP-BUG] Req #60760 [NEW]: Converting zend_parse_parameters() to zend_parse_parameters_none()
From: dragoonis Operating system: N/A PHP version: 5.4.0RC5 Package: SPL related Bug Type: Feature/Change Request Bug description:Converting zend_parse_parameters() to zend_parse_parameters_none() Description: Half of the file base uses zend_parse_parameters() to check if theres no params passed. Half of the file already uses zend_parse_parameters_none(). The work done here just updates zend_parse_parameters() calls to zend_parse_parameters_none() where necessary. Test script: --- N/A Expected result: N/A Actual result: -- N/A -- Edit bug report at https://bugs.php.net/bug.php?id=60760&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60760&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60760&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60760&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=60760&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60760&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=60760&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=60760&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=60760&r=needscript Try newer version: https://bugs.php.net/fix.php?id=60760&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=60760&r=support Expected behavior: https://bugs.php.net/fix.php?id=60760&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=60760&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=60760&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=60760&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60760&r=php4 Daylight Savings:https://bugs.php.net/fix.php?id=60760&r=dst IIS Stability: https://bugs.php.net/fix.php?id=60760&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=60760&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=60760&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=60760&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=60760&r=mysqlcfg
Bug #60753 [Opn->Fbk]: header function crash
Edit report at https://bugs.php.net/bug.php?id=60753&edit=1 ID: 60753 Updated by: larue...@php.net Reported by:bugzilla33 at gmail dot com Summary:header function crash -Status: Open +Status: Feedback Type: Bug Package:Reproducible crash Operating System: Win 7 32/64 PHP Version:5.4.0RC5 Block user comment: N Private report: N New Comment: Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: [2012-01-14 15:22:17] bugzilla33 at gmail dot com tested on Win 7 32/64 [2012-01-14 15:19:32] bugzilla33 at gmail dot com Description: header function crash apache bug introduced in PHP 5.4.0 RC5 Test script: --- http://php.net/'); ?> Expected result: PHP 5.4.0 RC4 redirects to location Actual result: -- PHP 5.4.0 RC5 crash -- Edit this bug report at https://bugs.php.net/bug.php?id=60753&edit=1
Bug #60758 [Opn->Fbk]: require() crashes Apache
Edit report at https://bugs.php.net/bug.php?id=60758&edit=1 ID: 60758 Updated by: larue...@php.net Reported by:bugzilla33 at gmail dot com Summary:require() crashes Apache -Status: Open +Status: Feedback Type: Bug Package:Reproducible crash PHP Version:5.4.0RC5 Block user comment: N Private report: N New Comment: Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: [2012-01-14 22:19:51] bugzilla33 at gmail dot com Description: require() crashes Apache Test script: --- Expected result: require() requires test.php Actual result: -- require() crashes Apache -- Edit this bug report at https://bugs.php.net/bug.php?id=60758&edit=1
Bug #60757 [Opn->Fbk]: phpinfo() crashes Apache
Edit report at https://bugs.php.net/bug.php?id=60757&edit=1 ID: 60757 Updated by: larue...@php.net Reported by:bugzilla33 at gmail dot com Summary:phpinfo() crashes Apache -Status: Open +Status: Feedback Type: Bug Package:Reproducible crash Operating System: Win 7 32/64 PHP Version:5.4.0RC5 Block user comment: N Private report: N New Comment: Thank you for this bug report. To properly diagnose the problem, we need a backtrace to see what is happening behind the scenes. To find out how to generate a backtrace, please read http://bugs.php.net/bugs-generating-backtrace.php for *NIX and http://bugs.php.net/bugs-generating-backtrace-win32.php for Win32 Once you have generated a backtrace, please submit it to this bug report and change the status back to "Open". Thank you for helping us make PHP better. Previous Comments: [2012-01-14 22:03:20] bugzilla33 at gmail dot com Description: phpinfo() crashes Apache Test script: --- Expected result: 5.4.0 RC4 shows phpinfo Actual result: -- 5.4.0 RC5 shows phpinfo table and after 1 second white background info: Internet Explorer can not display the webpage. -- Edit this bug report at https://bugs.php.net/bug.php?id=60757&edit=1
[PHP-BUG] Req #60759 [NEW]: SplDoublyLinkedList->reset()
From: dragoonis Operating system: N/A PHP version: 5.4.0RC5 Package: SPL related Bug Type: Feature/Change Request Bug description:SplDoublyLinkedList->reset() Description: The patch adds a reset() method to the SplDoublyLinkedList class. This allows the internal list to be wiped cleaned for reuse. Test script: --- push(5); var_dump($d->count()); $d->reset(); var_dump($d->count()); int(1) int(0) Actual result: -- push(5); var_dump($d->count()); $d->reset(); var_dump($d->count()); int(1) int(0) -- Edit bug report at https://bugs.php.net/bug.php?id=60759&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60759&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60759&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60759&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=60759&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60759&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=60759&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=60759&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=60759&r=needscript Try newer version: https://bugs.php.net/fix.php?id=60759&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=60759&r=support Expected behavior: https://bugs.php.net/fix.php?id=60759&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=60759&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=60759&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=60759&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60759&r=php4 Daylight Savings:https://bugs.php.net/fix.php?id=60759&r=dst IIS Stability: https://bugs.php.net/fix.php?id=60759&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=60759&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=60759&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=60759&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=60759&r=mysqlcfg
Bug #54158 [Com]: MYSQLND + PDO MySQL requires #define MYSQL_OPT_LOCAL_INFILE
Edit report at https://bugs.php.net/bug.php?id=54158&edit=1 ID: 54158 Comment by: denis_truffaut at hotmail dot com Reported by:tamas at ideaweb dot hu Summary:MYSQLND + PDO MySQL requires #define MYSQL_OPT_LOCAL_INFILE Status: Closed Type: Bug Package:PDO related Operating System: Linux PHP Version:5.3.5 Assigned To:mysql Block user comment: N Private report: N New Comment: ext/pdo_mysql/mysql_driver.c, line 635 : if (mysql_options(H->sergedit ver, MYSQL_OPT_LOCAL_INFILE, (const char *)&local_infile)) { Should be local_infile = 1; if (mysql_options(H->sergedit ver, MYSQL_OPT_LOCAL_INFILE, (const char *)&local_infile)) { You can achieve this dirty and quickly in doing : sudo sed -ie 's/if (mysql_options(H->server, MYSQL_OPT_LOCAL_INFILE/local_infile = 1;if (mysql_options(H->server, MYSQL_OPT_LOCAL_INFILE/g' ext/pdo_mysql/mysql_driver.c Previous Comments: [2012-01-15 00:31:54] denis_truffaut at hotmail dot com I just compiled PHP 5.4 RC5, on a Debian 6... and the bug is still there :( [2011-10-20 12:57:11] denis_truffaut at hotmail dot com Some bug fix is planned for PHP 5.4 : http://php.net/releases/NEWS_5_4_0_beta1.txt - PDO MySQL driver: . Fixed bug #54158 (MYSQLND+PDO MySQL requires #define MYSQL_OPT_LOCAL_INFILE) (Andrey) [2011-10-18 16:35:31] richardpq at gmail dot com I don't get it, after 5.3.6 release was working? because I have 5.3.8 and it is no working https://bugs.php.net/bug.php?id=55737 [2011-09-09 07:03:01] and...@php.net This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. [2011-09-02 13:53:30] and...@php.net Automatic comment from SVN on behalf of andrey Revision: http://svn.php.net/viewvc/?view=revision&revision=316039 Log: Fix for Bug #54158 MYSQLND + PDO MySQL requires #define MYSQL_OPT_LOCAL_INFILE and a bunch of other small preprocessor fixes The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=54158 -- Edit this bug report at https://bugs.php.net/bug.php?id=54158&edit=1
Bug #60683 [Com]: Interactive Mode doesn't reach prompt
Edit report at https://bugs.php.net/bug.php?id=60683&edit=1 ID: 60683 Comment by: dragoo...@php.net Reported by:da...@php.net Summary:Interactive Mode doesn't reach prompt Status: Open Type: Bug Package:CGI/CLI related Operating System: OSX 10.7.2 & Ubuntu 11.04 PHP Version:5.4.0RC5 Block user comment: N Private report: N New Comment: @rk, If there's support required for another library then it shouldn't let you enter interactive mode, and back out, giving you a useful error message to tell you there are missing dependencies.. Previous Comments: [2012-01-13 21:45:44] rk at srsbiz dot pl IMHO it's not a bug, to have interactive shell you have to configure with readline support, not just clean './configure' [2012-01-08 05:37:10] dragoo...@php.net I confirmed this case with davey on Mac OSX Lion Darwin Paul-Dragooniss-MacBook-Pro.local 11.2.0 Darwin Kernel Version 11.2.0: Tue Aug 9 20:54:00 PDT 2011; root:xnu-1699.24.8~1/RELEASE_X86_64 x86_64 05:10 macosx lion.. My build details are: -- bash-3.2$ ../build/bin/php -v PHP 5.4.0RC6-dev (cli) (built: Jan 8 2012 03:03:04) (DEBUG) Copyright (c) 1997-2012 The PHP Group Zend Engine v2.4.0, Copyright (c) 1998-2012 Zend Technologies Thanks. [2012-01-08 05:31:44] da...@php.net Description: * Using OS X Lion 10.7.2 or Ubuntu 11.04 (Natty), and basic "./configure". If you run php -a, you never reach the prompt, and nothing entered will work. All you can do is ^C to kill it. Setting cli.prompt does not help. Test script: --- $ php -a Expected result: $ php -a Interactive mode enabled php > Actual result: -- $ php -a Interactive mode enabled (wait. wait. wait.) ^C Backtrace if helpful: #0 0x7fff87f6ad52 in read$NOCANCEL () #1 0x7fff86883c25 in _sread () #2 0x7fff86884166 in __srefill1 () #3 0x7fff86884cb2 in __fread () #4 0x7fff86884b34 in fread () #5 0x00010028744c in zend_stream_getc [inlined] () at /Users/davey/src/php- 5.4.0RC5/Zend/zend_stream.c:148 #6 0x00010028744c in zend_stream_read (file_handle=0x0, buf=0x1009356a0 "? V?", len=4096) at zend_stream.c:168 #7 0x0001002878fb in zend_stream_fixup (file_handle=0x0, buf=0x7fff5fbfecc0, len=0x7fff5fbfecb8) at zend_stream.c:262 #8 0x0001002493be in open_file_for_scanning (file_handle=0x7fff5fbff958) at zend_language_scanner.l:483 #9 0x00010024a190 in compile_file (file_handle=0x7fff5fbff958, type=8) at zend_language_scanner.l:566 #10 0x000100159ba2 in phar_compile_file (file_handle=0x0, type=1606414144) at phar.c:3391 #11 0x000100272b57 in zend_execute_scripts (type=8, retval=0x7fff5fbff0a0, file_count=1606414496) at zend.c:1264 #12 0x0001002170e2 in php_execute_script (primary_file=0x7fff5fbff958) at main.c:2476 #13 0x0001002ff3e5 in do_cli [inlined] () at /Users/davey/src/php- 5.4.0RC5/sapi/cli/php_cli.c:983 #14 0x0001002ff3e5 in main (argc=1606417184, argv=0x0) at php_cli.c:1356 -- Edit this bug report at https://bugs.php.net/bug.php?id=60683&edit=1
Bug #54158 [Com]: MYSQLND + PDO MySQL requires #define MYSQL_OPT_LOCAL_INFILE
Edit report at https://bugs.php.net/bug.php?id=54158&edit=1 ID: 54158 Comment by: denis_truffaut at hotmail dot com Reported by:tamas at ideaweb dot hu Summary:MYSQLND + PDO MySQL requires #define MYSQL_OPT_LOCAL_INFILE Status: Closed Type: Bug Package:PDO related Operating System: Linux PHP Version:5.3.5 Assigned To:mysql Block user comment: N Private report: N New Comment: I just compiled PHP 5.4 RC5, on a Debian 6... and the bug is still there :( Previous Comments: [2011-10-20 12:57:11] denis_truffaut at hotmail dot com Some bug fix is planned for PHP 5.4 : http://php.net/releases/NEWS_5_4_0_beta1.txt - PDO MySQL driver: . Fixed bug #54158 (MYSQLND+PDO MySQL requires #define MYSQL_OPT_LOCAL_INFILE) (Andrey) [2011-10-18 16:35:31] richardpq at gmail dot com I don't get it, after 5.3.6 release was working? because I have 5.3.8 and it is no working https://bugs.php.net/bug.php?id=55737 [2011-09-09 07:03:01] and...@php.net This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. [2011-09-02 13:53:30] and...@php.net Automatic comment from SVN on behalf of andrey Revision: http://svn.php.net/viewvc/?view=revision&revision=316039 Log: Fix for Bug #54158 MYSQLND + PDO MySQL requires #define MYSQL_OPT_LOCAL_INFILE and a bunch of other small preprocessor fixes [2011-04-03 03:57:48] anthon dot pang at gmail dot com Sorry, you're right. My "workaround" is actually because MySQL is compiled with --enable-local-infile. The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=54158 -- Edit this bug report at https://bugs.php.net/bug.php?id=54158&edit=1
Sec Bug->Bug #60752 [Opn->Spm]: jkl
Edit report at https://bugs.php.net/bug.php?id=60752&edit=1 ID: 60752 Updated by: johan...@php.net Reported by:rajviroja22 at gamil dot com Summary:jkl -Status: Open +Status: Spam -Type: Security +Type: Bug Package:Session related Operating System: windows 7 PHP Version:5.4.0RC5 Block user comment: N Private report: Y Previous Comments: [2012-01-14 06:53:41] rajviroja22 at gamil dot com Description: --- >From manual page: >http://www.php.net/function.session-id#refsect1-function.session-id-description --- -- Edit this bug report at https://bugs.php.net/bug.php?id=60752&edit=1
[PHP-BUG] Bug #60758 [NEW]: require() crashes Apache
From: Operating system: PHP version: 5.4.0RC5 Package: Reproducible crash Bug Type: Bug Bug description:require() crashes Apache Description: require() crashes Apache Test script: --- Expected result: require() requires test.php Actual result: -- require() crashes Apache -- Edit bug report at https://bugs.php.net/bug.php?id=60758&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60758&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60758&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60758&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=60758&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60758&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=60758&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=60758&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=60758&r=needscript Try newer version: https://bugs.php.net/fix.php?id=60758&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=60758&r=support Expected behavior: https://bugs.php.net/fix.php?id=60758&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=60758&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=60758&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=60758&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60758&r=php4 Daylight Savings:https://bugs.php.net/fix.php?id=60758&r=dst IIS Stability: https://bugs.php.net/fix.php?id=60758&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=60758&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=60758&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=60758&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=60758&r=mysqlcfg
[PHP-BUG] Bug #60757 [NEW]: phpinfo() crashes Apache
From: Operating system: Win 7 32/64 PHP version: 5.4.0RC5 Package: Reproducible crash Bug Type: Bug Bug description:phpinfo() crashes Apache Description: phpinfo() crashes Apache Test script: --- Expected result: 5.4.0 RC4 shows phpinfo Actual result: -- 5.4.0 RC5 shows phpinfo table and after 1 second white background info: Internet Explorer can not display the webpage. -- Edit bug report at https://bugs.php.net/bug.php?id=60757&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60757&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60757&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60757&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=60757&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60757&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=60757&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=60757&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=60757&r=needscript Try newer version: https://bugs.php.net/fix.php?id=60757&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=60757&r=support Expected behavior: https://bugs.php.net/fix.php?id=60757&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=60757&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=60757&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=60757&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60757&r=php4 Daylight Savings:https://bugs.php.net/fix.php?id=60757&r=dst IIS Stability: https://bugs.php.net/fix.php?id=60757&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=60757&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=60757&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=60757&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=60757&r=mysqlcfg
Bug #60756 [Com]: Unable to upgrade
Edit report at https://bugs.php.net/bug.php?id=60756&edit=1 ID: 60756 Comment by: anon at anon dot anon Reported by:lucien_sabre at yahoo dot it Summary:Unable to upgrade Status: Open Type: Bug Package:*General Issues Operating System: Windows7 32Bit PHP Version:Irrelevant Block user comment: N Private report: N New Comment: >What can I do to upgrade my version? Download the zip instead. Unzip into the install directory to overwrite the existing files. Never used the installer so can't really advise about that, sorry. Previous Comments: [2012-01-14 21:12:32] lucien_sabre at yahoo dot it Description: I cannot upgrade my PHP version. I already had this problem last year, when I tried to upgrade from PHP 5.3.0 to 5.3.5; after a couple of mails, you dismissed me by saying my version wasn't updated and that I should download the latest version from the Downloads page...but that was what I had done and it hadn't worked. So, I stuck with version 3.5.0 and waited. Today, I tried to download latest version 5.3.9, but I got the same error - that you can see in http://i904.photobucket.com/albums/ac242/luciensabre/install_error.png. What can I do to upgrade my version? Test script: --- // Expected result: // Actual result: -- // -- Edit this bug report at https://bugs.php.net/bug.php?id=60756&edit=1
[PHP-BUG] Bug #60756 [NEW]: Unable to upgrade
From: Operating system: Windows7 32Bit PHP version: Irrelevant Package: *General Issues Bug Type: Bug Bug description:Unable to upgrade Description: I cannot upgrade my PHP version. I already had this problem last year, when I tried to upgrade from PHP 5.3.0 to 5.3.5; after a couple of mails, you dismissed me by saying my version wasn't updated and that I should download the latest version from the Downloads page...but that was what I had done and it hadn't worked. So, I stuck with version 3.5.0 and waited. Today, I tried to download latest version 5.3.9, but I got the same error - that you can see in http://i904.photobucket.com/albums/ac242/luciensabre/install_error.png. What can I do to upgrade my version? Test script: --- // Expected result: // Actual result: -- // -- Edit bug report at https://bugs.php.net/bug.php?id=60756&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60756&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60756&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60756&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=60756&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60756&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=60756&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=60756&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=60756&r=needscript Try newer version: https://bugs.php.net/fix.php?id=60756&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=60756&r=support Expected behavior: https://bugs.php.net/fix.php?id=60756&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=60756&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=60756&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=60756&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60756&r=php4 Daylight Savings:https://bugs.php.net/fix.php?id=60756&r=dst IIS Stability: https://bugs.php.net/fix.php?id=60756&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=60756&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=60756&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=60756&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=60756&r=mysqlcfg
[PHP-BUG] Req #60755 [NEW]: "*" modifier for sprintf
From: Operating system: * PHP version: Irrelevant Package: SPL related Bug Type: Feature/Change Request Bug description:"*" modifier for sprintf Description: Hi all, I'v add support of "*" modifier for sprintf, it exist in sprintf C implementation (http://www.cplusplus.com/reference/clibrary/cstdio/printf/) My patch attached Test script: --- sprintf("%.*f", 2, 2) // output "2.00" sprintf("%.2f", 2) // output "2.00" -- Edit bug report at https://bugs.php.net/bug.php?id=60755&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60755&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60755&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60755&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=60755&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60755&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=60755&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=60755&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=60755&r=needscript Try newer version: https://bugs.php.net/fix.php?id=60755&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=60755&r=support Expected behavior: https://bugs.php.net/fix.php?id=60755&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=60755&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=60755&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=60755&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60755&r=php4 Daylight Savings:https://bugs.php.net/fix.php?id=60755&r=dst IIS Stability: https://bugs.php.net/fix.php?id=60755&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=60755&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=60755&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=60755&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=60755&r=mysqlcfg
[PHP-BUG] Req #60754 [NEW]: autoloader for extensions :D
From: Operating system: windows PHP version: 5.4.0RC5 Package: PHP options/info functions Bug Type: Feature/Change Request Bug description:autoloader for extensions :D Description: Yes ! Why not ? Everybody this days are crazy about autoloaders (spl &co) and they build applications around this ... anyway.. it will be nice to have an autoloader into the php.ini like autoload_extensions = "On" and not have the xxx lines with all extensions we want extension = 1.dll ... extension = 300.dll Ok you got the point.. SeeYa -- Edit bug report at https://bugs.php.net/bug.php?id=60754&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60754&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60754&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60754&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=60754&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60754&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=60754&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=60754&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=60754&r=needscript Try newer version: https://bugs.php.net/fix.php?id=60754&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=60754&r=support Expected behavior: https://bugs.php.net/fix.php?id=60754&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=60754&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=60754&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=60754&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60754&r=php4 Daylight Savings:https://bugs.php.net/fix.php?id=60754&r=dst IIS Stability: https://bugs.php.net/fix.php?id=60754&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=60754&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=60754&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=60754&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=60754&r=mysqlcfg
Bug #60753 [Opn]: header function crash
Edit report at https://bugs.php.net/bug.php?id=60753&edit=1 ID: 60753 User updated by:bugzilla33 at gmail dot com Reported by:bugzilla33 at gmail dot com Summary:header function crash Status: Open Type: Bug Package:Reproducible crash -Operating System: +Operating System: Win 7 32/64 PHP Version:5.4.0RC5 Block user comment: N Private report: N New Comment: tested on Win 7 32/64 Previous Comments: [2012-01-14 15:19:32] bugzilla33 at gmail dot com Description: header function crash apache bug introduced in PHP 5.4.0 RC5 Test script: --- http://php.net/'); ?> Expected result: PHP 5.4.0 RC4 redirects to location Actual result: -- PHP 5.4.0 RC5 crash -- Edit this bug report at https://bugs.php.net/bug.php?id=60753&edit=1
[PHP-BUG] Bug #60753 [NEW]: header function crash
From: Operating system: PHP version: 5.4.0RC5 Package: Reproducible crash Bug Type: Bug Bug description:header function crash Description: header function crash apache bug introduced in PHP 5.4.0 RC5 Test script: --- http://php.net/'); ?> Expected result: PHP 5.4.0 RC4 redirects to location Actual result: -- PHP 5.4.0 RC5 crash -- Edit bug report at https://bugs.php.net/bug.php?id=60753&edit=1 -- Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=60753&r=trysnapshot54 Try a snapshot (PHP 5.3): https://bugs.php.net/fix.php?id=60753&r=trysnapshot53 Try a snapshot (trunk): https://bugs.php.net/fix.php?id=60753&r=trysnapshottrunk Fixed in SVN: https://bugs.php.net/fix.php?id=60753&r=fixed Fixed in SVN and need be documented: https://bugs.php.net/fix.php?id=60753&r=needdocs Fixed in release: https://bugs.php.net/fix.php?id=60753&r=alreadyfixed Need backtrace: https://bugs.php.net/fix.php?id=60753&r=needtrace Need Reproduce Script: https://bugs.php.net/fix.php?id=60753&r=needscript Try newer version: https://bugs.php.net/fix.php?id=60753&r=oldversion Not developer issue: https://bugs.php.net/fix.php?id=60753&r=support Expected behavior: https://bugs.php.net/fix.php?id=60753&r=notwrong Not enough info: https://bugs.php.net/fix.php?id=60753&r=notenoughinfo Submitted twice: https://bugs.php.net/fix.php?id=60753&r=submittedtwice register_globals: https://bugs.php.net/fix.php?id=60753&r=globals PHP 4 support discontinued: https://bugs.php.net/fix.php?id=60753&r=php4 Daylight Savings:https://bugs.php.net/fix.php?id=60753&r=dst IIS Stability: https://bugs.php.net/fix.php?id=60753&r=isapi Install GNU Sed: https://bugs.php.net/fix.php?id=60753&r=gnused Floating point limitations: https://bugs.php.net/fix.php?id=60753&r=float No Zend Extensions: https://bugs.php.net/fix.php?id=60753&r=nozend MySQL Configuration Error: https://bugs.php.net/fix.php?id=60753&r=mysqlcfg
Req #55181 [Com]: Enhance security by limiting the script extension
Edit report at https://bugs.php.net/bug.php?id=55181&edit=1 ID: 55181 Comment by: public at grik dot net Reported by:f...@php.net Summary:Enhance security by limiting the script extension Status: Closed Type: Feature/Change Request Package:FPM related Operating System: any PHP Version:5.3.6 Assigned To:fat Block user comment: N Private report: N New Comment: it would be MUCH better if you do the same way it's done with date.timezone: if the setting is not defined, it gives a warning on PHP start now everyone blindly upgrading to a minor release with the same php-fpm.conf are shooting their feet Previous Comments: [2012-01-13 08:57:15] laph at gmx dot net This is a massive functionality change, breaking every application that doesn't stick to the ".php" File-Extension when upgrading from 5.3.8 to 5.3.9 since if "security.limit_extensions" is unset, it's limited to ".php". Additionally this new configuration setting is not documented in the FPM-Docs. Please, don't do such changes in minor releases. Or at lease document them properly! [2011-10-08 19:52:26] f...@php.net This bug has been fixed in SVN. Snapshots of the sources are packaged every three hours; this change will be in the next snapshot. You can grab the snapshot at http://snaps.php.net/. For Windows: http://windows.php.net/snapshots/ Thank you for the report, and for helping us make PHP better. [2011-10-08 13:42:08] f...@php.net Automatic comment from SVN on behalf of fat Revision: http://svn.php.net/viewvc/?view=revision&revision=317894 Log: - Backported FR #55181 from 5.4 branch (Enhance security by limiting access to user defined extensions) [2011-07-12 19:01:21] f...@php.net Commited on 5.4. Waiting to 5.3.7 to be released to backport this to 5.3. [2011-07-12 19:00:39] f...@php.net Automatic comment from SVN on behalf of fat Revision: http://svn.php.net/viewvc/?view=revision&revision=313186 Log: - Implemented FR #55181 (Enhance security by limiting access to user defined extensions) The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=55181 -- Edit this bug report at https://bugs.php.net/bug.php?id=55181&edit=1
Bug #60699 [Fbk->Opn]: mysqli_init() crashes under high concurrency
Edit report at https://bugs.php.net/bug.php?id=60699&edit=1 ID: 60699 User updated by:ninzya at inbox dot lv Reported by:ninzya at inbox dot lv Summary:mysqli_init() crashes under high concurrency -Status: Feedback +Status: Open Type: Bug Package:MySQLi related Operating System: Windows 7 PHP Version:5.4.0RC5 Block user comment: N Private report: N New Comment: Changed status to Open Previous Comments: [2012-01-13 12:04:02] ninzya at inbox dot lv Followed instructions on getting backtrace for Windows using Debug diagnostic tool and got no meaningful info out of it. Here's the error: In httpd__PID__4312__Date__01_13_2012__Time_01_52_49PM__761__Second_Chance_Exceptio n_C005.dmp the assembly instruction at php5ts!_efree+85 in C:\Program Files (x86)\PHP\5.4.0RC5\php5ts.dll from The PHP Group has caused an access violation exception (0xC005) when trying to read from memory location 0x3a61f988 on thread 15 And here's information on thread 15: Thread 15 - System ID 5604 Entry point msvcrt!_endthreadex+6f Create time 1/13/2012 1:49:32 PM Time spent in user mode 0 Days 00:00:00.015 Time spent in kernel mode 0 Days 00:00:00.015 Function Source ntdll!NtRaiseException+12 ntdll!KiUserExceptionDispatcher+29 Now the exception info: PHP5TS!_EFREE+85In httpd__PID__4312__Date__01_13_2012__Time_01_52_49PM__761__Second_Chance_Exceptio n_C005.dmp the assembly instruction at php5ts!_efree+85 in C:\Program Files (x86)\PHP\5.4.0RC5\php5ts.dll from The PHP Group has caused an access violation exception (0xC005) when trying to read from memory location 0x3a61f988 on thread 15 Module information: Image Name: C:\Program Files (x86)\PHP\5.4.0RC5\php5ts.dll Symbol Type: PDB Base address: 0x00905a4d Time Stamp: Fri Jan 06 03:02:19 2012 Checksum: 0x Comments: COM DLL: False Company Name: The PHP Group ISAPIExtension: False File Description: PHP Script Interpreter ISAPIFilter: False File Version: 5.4.0RC5 Managed DLL: False Internal Name: PHP Script Interpreter VB DLL: False Legal Copyright: Copyright © 1997-2010 The PHP Group Loaded Image Name: php5ts.dll Legal Trademarks: PHP Mapped Image Name: Original filename: php5ts.dll Module name: php5ts Private Build: Single Threaded: False Product Name: PHP Module Size: 5.91 MBytes Product Version: 5.4.0RC5 Symbol File Name: c:\program files (x86)\php\5.4.0rc5\debug\php5ts.pdb Special Build: & Notice "Symbol File Name"... PDB files were loaded correctly and I have no clue why there's no info on stack trace for thread 15. For comparison, here's stack trace for some other thread, that did not raise any exceptions: Thread 6 - System ID 2748 Entry point msvcrt!_endthreadex+6f Create time 1/13/2012 1:49:32 PM Time spent in user mode 0 Days 00:00:00.015 Time spent in kernel mode 0 Days 00:00:00.015 Function Source php5ts!_zend_mm_alloc_int+d c:\php-sdk\php54dev-ts\vc9\x86\php- 5.4.0rc5\zend\zend_alloc.c @ 1877 + d php5ts!_emalloc+32 c:\php-sdk\php54dev-ts\vc9\x86\php- 5.4.0rc5\zend\zend_alloc.c @ 2425 + 5 php5ts!zendparse+70a c:\php-sdk\php54dev-ts\vc9\x86\php- 5.4.0rc5\zend\zend_language_parser.y @ 987 + 25 php5ts!compile_file+15a c:\php-sdk\php54dev-ts\vc9\x86\php- 5.4.0rc5\zend\zend_language_scanner.l @ 579 + c php5ts!phar_compile_file+87 c:\php-sdk\php54dev-ts\vc9\x86\php- 5.4.0rc5\ext\phar\phar.c @ 3391 + 1d php5ts!zend_execute_scripts+80 c:\php-sdk\php54dev-ts\vc9\x86\php- 5.4.0rc5\zend\zend.c @ 1264 + b php5ts!php_execute_script+1a7 c:\php-sdk\php54dev-ts\vc9\x86\php- 5.4.0rc5\main\main.c @ 2476 + 12 php5apache2_2!php_handler+417 c:\php-sdk\php54dev-ts\vc9\x86\php- 5.4.0rc5\sapi\apache2handler\sapi_apache2.c @ 667 + 23 libhttpd!ap_run_handler+21 .\server\config.c @ 158 + 21 libhttpd!ap_invoke_handler+b0 .\server\config.c @ 376 + 6 libhttpd!ap_internal_redirect+37 .\modules\http\http_request.c @ 557 mod_rewrite!handler_redirect+7b mod_rewrite.c @ 4839 + 31 libhttpd!ap_run_handler+21 .\server\config.c @ 158 + 21 libhttpd!ap_invoke_handler+b0 .\server\config.c @ 376 + 6 libhttpd!ap_process_request+3e .\modules\http\http_request.c @ 286 libhttpd!ap_process_http_connection+4c .\modules\http\http_core.c @ 190 + 6 libhttpd!ap_run_process_connection+21 .\server\connection.c @ 43 + 21 libhttpd!ap_process_connection+33 .\server\connection.c @ 190 + 6 libhttpd!worker_main+9c .\server\mpm\winnt\child.c @ 784 msvcrt!_endthreadex+44 msvcrt!_endthreadex+ce kernel32!BaseThreadInitThunk+e ntdll!__RtlUserThreadStart+70 ntdll!_RtlUserThreadStart+1b Any clues? Maybe you can take any apache, take php 5.4.0RC5 ts, configure it as module, enable mysqli, create php file with "", run a stress te