Re[2]: [PHP] Max File Size
| From: | Tom Rogers | Date: | Thu, 05 Dec 2002 01:24:05 +0000 |
| Subject: | Re[2]: [PHP] Max File Size | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-127078@lists.php.net to get a copy of this message | ||
Hi,
Thursday, December 5, 2002, 11:00:14 AM, you wrote:
RL> On Wednesday, December 04, 2002 3:03 PM, I wrote
RL> Hi,
RL> Further to my original post, to check if my php.ini was being recognized I
RL> temporarily changed some other configuration options, i.e. register_globals
RL> and include_path, and reloaded phpinfo.php. All options, except for
RL> upload_max_filesize, were changed per my input. Does anyone know why
RL> upload_max_filesize is not being reset?
RL> The following is from my php.ini showing upload_max_filesize = 7500000:
RL> ;;;;;;;;;;;;;;;;;;;;;;;;;
RL> ; Paths and Directories ;
RL> ;;;;;;;;;;;;;;;;;;;;;;;;;
RL> include_path = ".:/home/sites/home/users/demo/phpinclude" ; UNIX:
RL> "/path1:/path2" Windows: "\path1;\path2"
RL> doc_root = ; the root of the php pages,
RL> used only if nonempty
RL> user_dir = ; the directory under which
RL> php opens the script using
RL> /~username, used only if nonempty
RL> ;upload_tmp_dir = ; temporary directory for HTTP uploaded
RL> files (will use system default if not specified)
RL> upload_max_filesize = 7500000 ; 2 Meg default limit on file uploads
RL> extension_dir = /usr/lib/apache/php ; directory in which
RL> the loadable
RL> extensions (modules) reside
RL> Thanks for any help on this,
RL> Roger
Sounds like php.ini is being overridden by a .htaccess file or httpd.conf
--
regards,
Tom