|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #25974 post_max_size Changeable value inconsistant
Submitted: 2003-10-24 05:34 UTC Modified: 2003-10-24 07:33 UTC
From: klowe at solomon dot ie Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: FreeBSD
Private report: No CVE-ID: None
 [2003-10-24 05:34 UTC] klowe at solomon dot ie

I've been trying to change my post_max_size within my .htaccess file as in is is listed as 


Could not get it to work, then someone in a newsgroup pointed out that it's changeble just in PHP_INI_SYSTEM as per

post_max_size "8M" PHP_INI_SYSTEM 

I think the first one is wrong as it wont work in .htaccess



Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-24 07:19 UTC]
You can change it in .htaccess file, when you use correct format:

php_value post_max_size 8192000
 [2003-10-24 07:33 UTC] klowe at solomon dot ie
This is my htaccess, i just doubled your value:

php_value upload_max_filesize 20971520
php_value post_max_size 16384000
php_value memory_limit 33554432

upload_max_filesize & memory_limit are shown in phpinfo() but post_max_size remains at 8M. Am using 4.2.2 as apache module, cant upgrade as dont have root access, that's why I'm only reporting a doc problem as two diffecent manual pages say post_max_size can be changed in PHP_INI_SYSTEM|PHP_INI_PERDIR  and then only in PHP_INI_SYSTEM

PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Sat Sep 25 00:03:42 2021 UTC