php.net |  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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: klowe at solomon dot ie
New email:
PHP Version: OS:

 

 [2003-10-24 05:34 UTC] klowe at solomon dot ie
Description:
------------
Hi,

I've been trying to change my post_max_size within my .htaccess file as in http://www.php.net/manual/en/configuration.directives.php is is listed as 

post_max_size "8M" PHP_INI_SYSTEM|PHP_INI_PERDIR 

Could not get it to work, then someone in a newsgroup pointed out that it's changeble just in PHP_INI_SYSTEM as per http://ie2.php.net/ini_set:

post_max_size "8M" PHP_INI_SYSTEM 


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

Thanks,
Kevin


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2003-10-24 07:19 UTC] sniper@php.net
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

Kevin
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Mon Sep 20 05:03:36 2021 UTC