Bug 67586
| Summary: | post_max_size config not settable in apache conf | ||
|---|---|---|---|
| Product: | [Retired] Red Hat Linux | Reporter: | Karl O. Pinc <kop> |
| Component: | php | Assignee: | Joe Orton <jorton> |
| Status: | CLOSED DUPLICATE | QA Contact: | David Lawrence <dkl> |
| Severity: | low | Docs Contact: | |
| Priority: | low | ||
| Version: | 7.2 | ||
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | i386 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2002-09-23 20:03:41 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Karl O. Pinc
2002-06-27 19:51:55 UTC
what the heck is phpconf()? I'm going to assume you meant phpinfo() Ok lets see... ============================================================================ From: http://www.php.net/manual/en/configuration.php#ini.upload-max-filesize upload_max_filesize integer The maximum size of an uploaded file. The value is in bytes. From: http://www.php.net/manual/en/configuration.php#ini.post-max-size post_max_size integer Sets max size of post data allowed. This setting also affects file upload. To upload large files, this value must be larger than upload_max_filesize. If memory limit is enabled by configure script, memory_limit also affects file uploading. Generally speaking, memory_limit should be larger than post_max_size. ============================================================================ Now then, my defaults are post_max_size 8M 8M upload_max_filesize 2M 2M If I tweak the php.ini file so we have 6M and 4M,.. ah right you are,.. they don't change Ok lets see if that 8/2Mb is a minimum nope,.. they don't change or rather should I say that they aren't reported as being changed. AAAAAAAHHH!!!! ok restart httpd between changes and macke sure that the web broswer has no cacheing enabled It does change. Just between the web server and the browser they hang onto the old values Not a bug just an effect of caching Phil =--= You misunderstand the problem. Yes, the config can be changed using php.ini. The bug is that it can't be changed in httpd.conf using the php_value method of setting the variable. (Yes, I ment phpinfo() sorry.) |