#46187 [Opn->Bgs]: pathinfo null
ID: 46187 Updated by: [EMAIL PROTECTED] Reported By: ne1on at idt dot com -Status: Open +Status: Bogus Bug Type: Variables related Operating System: Centos 5.1 PHP Version: 5.2.6 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. This is a server-issue. Such things are not set by PHP itself, but rather retrieved from Apache/Lightppd/lightty/etc. Previous Comments: [2008-09-26 21:51:21] ne1on at idt dot com Description: this is a repost of bug: http://bugs.php.net/bug.php?id=38476 i'm using 5.2.6 with lightty 1.4.19 and have done all the suggested setting and _SERVER["PATH_INFO"] is still NULL compile: ./configure --prefix=/usr/local/php --enable-fastcgi --enable-discard-path --enable-force-cgi-redirect --with-zlib --with-config-file-path=/etc --with-mysql=/usr/local/mysql php.ini: cgi.fix_pathinfo = 1 i search and search for hours and path_info is still has "no value" in phpinfo() Reproduce code: --- echo $_SERVER['PATH_INFO']; --> null [2008-09-26 21:48:57] ne1on at idt dot com Description: this is a repost of bug: http://bugs.php.net/bug.php?id=38476 i'm using 5.2.6 with lightty and have done all the suggested setting and _SERVER["PATH_INFO"] is still NULL compile: ./configure --prefix=/usr/local/php --enable-fastcgi --enable-discard-path --enable-force-cgi-redirect --with-zlib --with-config-file-path=/etc --with-mysql=/usr/local/mysql php.ini: cgi.fix_pathinfo = 1 i search and search for hours and path_info is still has "no value" in phpinfo() Reproduce code: --- echo $SERVER['PATH_INFO']; --> null -- Edit this bug report at http://bugs.php.net/?id=46187&edit=1
#46188 [NEW]: Installer aborts
From: xigamy at gmail dot com Operating system: Windows Vista Business Edition PHP version: 5.2.6 PHP Bug Type: Windows Installer Bug description: Installer aborts Description: I start the installer: php-5.2.6-win32-installer.msi agree destination: C:\Program Files\PHP\ choose Apache 2.2 Webserver setup Apache conf dir: C:\Program Files\Apache Software Foundation\Apache2.2\conf\ accept default features ... Install ! Expected result: PHP should be installed and configure my Apache 2.2 httpd Actual result: -- I have screenshot for you After the progress bar seems to be completed a error occurs. Its a message box with this message: "There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your support personnel or package vendor." thats all. When i try to deinstall the same error occurs and i cannot deinstall. Only way is to delete the PHP-folder and then the deinstall works. -- Edit bug report at http://bugs.php.net/?id=46188&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46188&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46188&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46188&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46188&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=46188&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46188&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=46188&r=needscript Try newer version:http://bugs.php.net/fix.php?id=46188&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46188&r=support Expected behavior:http://bugs.php.net/fix.php?id=46188&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46188&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46188&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46188&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46188&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46188&r=dst IIS Stability:http://bugs.php.net/fix.php?id=46188&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46188&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46188&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46188&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=46188&r=mysqlcfg
#46189 [NEW]: php needs a compile-time include/require like #include
From: noah at missionecommerce dot com Operating system: Linux PHP version: 5.2.6 PHP Bug Type: Feature/Change Request Bug description: php needs a compile-time include/require like #include Description: Using include/require in a loop causes horrible preformance, because of the additional stat, file read, and opt-code compile on every loop iteration. PHP really needs a method to do compile-time includes/requires as well as the current run-time include/require. I would like to be able to do #include like in C and have the compiler insert the contents of the file into the script BEFORE compilation. This shouldn't be a complicated feature addition, and it would make life alot easier when developing with large projects with alot of reusable code. Reproduce code: --- for( $i = 0; $i < 1000; $i ++ ) { // I want run this code by including the file // But this code is not appropriate to make a function for // And its very long, so I dont just want to paste the code inside // this loop because it makes developement more confusing include '/www/some_code_snippet.php'; } Expected result: Although I knew include was a run-time event, I was hoping behavior to #include in C. Actual result: -- Tracing the code, I found it produced 1000 file stats, 1000 file reads, and 1000 opt-code compiles -- Edit bug report at http://bugs.php.net/?id=46189&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46189&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46189&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46189&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46189&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=46189&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46189&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=46189&r=needscript Try newer version:http://bugs.php.net/fix.php?id=46189&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46189&r=support Expected behavior:http://bugs.php.net/fix.php?id=46189&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46189&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46189&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46189&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46189&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46189&r=dst IIS Stability:http://bugs.php.net/fix.php?id=46189&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46189&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46189&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46189&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=46189&r=mysqlcfg
#46190 [NEW]: create_function memleak
From: vamphouse at yandex dot ru Operating system: win32 PHP version: 5.2.6 PHP Bug Type: Scripting Engine problem Bug description: create_function memleak Description: create_function memleak Reproduce code: --- for($i = 0; $i < 1; $i ++ ){ $s1 = memory_get_usage(); $lambda = create_function('$hello', ' return "hello". ($hello); '); $lambda('Gordeev Yuri!'); unset($lambda); $s2 = memory_get_usage(); } print ($s2-$s1); Expected result: 0 Actual result: -- print ($s2-$s1); // 2232 -- Edit bug report at http://bugs.php.net/?id=46190&edit=1 -- Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=46190&r=trysnapshot52 Try a CVS snapshot (PHP 5.3): http://bugs.php.net/fix.php?id=46190&r=trysnapshot53 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=46190&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=46190&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=46190&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=46190&r=needtrace Need Reproduce Script:http://bugs.php.net/fix.php?id=46190&r=needscript Try newer version:http://bugs.php.net/fix.php?id=46190&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=46190&r=support Expected behavior:http://bugs.php.net/fix.php?id=46190&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=46190&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=46190&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=46190&r=globals PHP 4 support discontinued: http://bugs.php.net/fix.php?id=46190&r=php4 Daylight Savings: http://bugs.php.net/fix.php?id=46190&r=dst IIS Stability:http://bugs.php.net/fix.php?id=46190&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=46190&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=46190&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=46190&r=nozend MySQL Configuration Error:http://bugs.php.net/fix.php?id=46190&r=mysqlcfg
#46190 [Opn->Bgs]: create_function memleak
ID: 46190 Updated by: [EMAIL PROTECTED] Reported By: vamphouse at yandex dot ru -Status: Open +Status: Bogus Bug Type: Scripting Engine problem Operating System: win32 PHP Version: 5.2.6 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php See the optional parameter, http://docs.php.net/memory-get-usage Previous Comments: [2008-09-27 23:08:41] vamphouse at yandex dot ru Description: create_function memleak Reproduce code: --- for($i = 0; $i < 1; $i ++ ){ $s1 = memory_get_usage(); $lambda = create_function('$hello', ' return "hello". ($hello); '); $lambda('Gordeev Yuri!'); unset($lambda); $s2 = memory_get_usage(); } print ($s2-$s1); Expected result: 0 Actual result: -- print ($s2-$s1); // 2232 -- Edit this bug report at http://bugs.php.net/?id=46190&edit=1