- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: Problem uploading files to photo gallery
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-20-2005 10:58 PM
тАО08-20-2005 10:58 PM
Problem uploading files to photo gallery
We have a photo gallery (written in PHP) where users can upload to. Since we moved to this new server no one can upload a file greater than around 107K. Anything above that returns a white screen.
In the server error_log I get:
PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 7012 bytes).
In my php.ini:
memory_limit = 8M
upload_max_filesixe = 2M
In php.conf:
LimitRequestBody 307200
If I increase memory_limit to 16M the error still occurs but shows 16777216 bytes exhausted. No matter wht it is set to it gets exhausted, and still cannot upload files over 107K to our gallery.
Any ideas please, thanks
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2005 05:03 AM
тАО08-21-2005 05:03 AM
Re: Problem uploading files to photo gallery
memory_limit = 8M
to
memory_limit = 24M
and the upload worked. Does this not increase server load? Are there any dangers with leaving this setting to 24M
Bob
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-21-2005 11:52 PM
тАО08-21-2005 11:52 PM
Re: Problem uploading files to photo gallery
check this website for more information
http://www.mcs.vuw.ac.nz/technical/software/PHP/configuration.html
Hope this helps,
Gopi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2005 12:37 AM
тАО08-22-2005 12:37 AM
Re: Problem uploading files to photo gallery
post_max_size
In the php.ini configuration file.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО08-22-2005 01:36 AM
тАО08-22-2005 01:36 AM
Re: Problem uploading files to photo gallery
post_max_size = 8M
Bob