- Community Home
- >
- Servers and Operating Systems
- >
- Operating System - Linux
- >
- General
- >
- Problem uploading files to photo gallery
-
- Forums
-
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
- HPE Blog, Austria, Germany & Switzerland
- Blog HPE, France
- HPE Blog, Italy
- HPE Blog, Japan
- HPE Blog, Middle East
- HPE Blog, Latin America
- HPE Blog, Russia
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
-
Blogs
- Advancing Life & Work
- Advantage EX
- Alliances
- Around the Storage Block
- HPE Blog, Latin America
- HPE Blog, Middle East
- HPE Blog, Saudi Arabia
- HPE Blog, South Africa
- HPE Blog, UK & Ireland
- HPE Ezmeral: Uncut
- OEM Solutions
- Servers & Systems: The Right Compute
- Tech Insights
- The Cloud Experience Everywhere
-
Information
- Community
- Welcome
- Getting Started
- FAQ
- Ranking Overview
- Rules of Participation
- Tips and Tricks
- Resources
- Announcements
- Email us
- Feedback
- Information Libraries
- Integrated Systems
- Networking
- Servers
- Storage
- Other HPE Sites
- Support Center
- Aruba Airheads Community
- Enterprise.nxt
- HPE Dev Community
- Cloud28+ Community
- Marketplace
-
Forums
-
Blogs
-
Information
-
English
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
- Email to a Friend
- 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
Hewlett Packard Enterprise International
- Communities
- HPE Blogs and Forum
© Copyright 2021 Hewlett Packard Enterprise Development LP