#38051 [Opn->Fbk]: changing upload_max_filesize in php.ini has no effect
| From: | tony2001@php.net | Date: | Mon, 10 Jul 2006 07:54:25 +0000 |
| Subject: | #38051 [Opn->Fbk]: changing upload_max_filesize in php.ini has no effect | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-99283@lists.php.net to get a copy of this message | ||
ID: 38051
Updated by: tony2001@php.net
Reported By: saurabh_barjatiya at daiict dot ac dot in
-Status: Open
+Status: Feedback
Bug Type: *Configuration Issues
Operating System: Fedora Core 5
PHP Version: 5.1.4
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.2-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.2-win32-latest.zip
Works just fine here.
Previous Comments:
------------------------------------------------------------------------
[2006-07-10 01:08:26] saurabh_barjatiya at daiict dot ac dot in
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 this bug report at http://bugs.php.net/?id=38051&edit=1