From: saurabh_barjatiya at daiict dot ac dot in Operating system: Fedora Core 5 PHP version: 5.1.4 PHP Bug Type: *Configuration Issues Bug description: changing upload_max_filesize in php.ini has no effect
Description: ------------ I have changed following in php.ini, Still when I run phpinfo() I get upload_max_filesize as 2M while other two getchanged. upload_max_filesize 2000M post_max_size 2000M memory_limit 2000M I have also tried creating php.ini in same directory as script with above settings. I have also tried creating .htaccess with php_value upload_max_filesize 2000M Still all scrips return 2M even with ini_get. Please check or tell how to change upload_max_filesize Reproduce code: --------------- <?php echo ini_get('upload_max_filesize'); ?> Expected result: ---------------- 2000M Actual result: -------------- 2M -- Edit bug report at http://bugs.php.net/?id=38051&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=38051&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=38051&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=38051&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=38051&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=38051&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=38051&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=38051&r=needscript Try newer version: http://bugs.php.net/fix.php?id=38051&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=38051&r=support Expected behavior: http://bugs.php.net/fix.php?id=38051&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=38051&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=38051&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=38051&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=38051&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=38051&r=dst IIS Stability: http://bugs.php.net/fix.php?id=38051&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=38051&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=38051&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=38051&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=38051&r=mysqlcfg