<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Problem uploading files to photo gallery in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/problem-uploading-files-to-photo-gallery/m-p/3608079#M68752</link>
    <description>We have a DL360 G4 with RHESL-4, Apache 2.0.52 and PHP 4.3.9, 3Ghz CPU and 1Gb RAM.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;In the server error_log I get:&lt;BR /&gt;&lt;BR /&gt;PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 7012 bytes).&lt;BR /&gt;&lt;BR /&gt;In my php.ini:&lt;BR /&gt;&lt;BR /&gt;memory_limit = 8M&lt;BR /&gt;upload_max_filesixe = 2M&lt;BR /&gt;&lt;BR /&gt;In php.conf:&lt;BR /&gt;&lt;BR /&gt;LimitRequestBody 307200&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Any ideas please, thanks&lt;BR /&gt;&lt;BR /&gt;Bob</description>
    <pubDate>Sun, 21 Aug 2005 05:58:49 GMT</pubDate>
    <dc:creator>Robert Isaac_1</dc:creator>
    <dc:date>2005-08-21T05:58:49Z</dc:date>
    <item>
      <title>Problem uploading files to photo gallery</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-uploading-files-to-photo-gallery/m-p/3608079#M68752</link>
      <description>We have a DL360 G4 with RHESL-4, Apache 2.0.52 and PHP 4.3.9, 3Ghz CPU and 1Gb RAM.&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;In the server error_log I get:&lt;BR /&gt;&lt;BR /&gt;PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 7012 bytes).&lt;BR /&gt;&lt;BR /&gt;In my php.ini:&lt;BR /&gt;&lt;BR /&gt;memory_limit = 8M&lt;BR /&gt;upload_max_filesixe = 2M&lt;BR /&gt;&lt;BR /&gt;In php.conf:&lt;BR /&gt;&lt;BR /&gt;LimitRequestBody 307200&lt;BR /&gt;&lt;BR /&gt;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.&lt;BR /&gt;&lt;BR /&gt;Any ideas please, thanks&lt;BR /&gt;&lt;BR /&gt;Bob</description>
      <pubDate>Sun, 21 Aug 2005 05:58:49 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-uploading-files-to-photo-gallery/m-p/3608079#M68752</guid>
      <dc:creator>Robert Isaac_1</dc:creator>
      <dc:date>2005-08-21T05:58:49Z</dc:date>
    </item>
    <item>
      <title>Re: Problem uploading files to photo gallery</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-uploading-files-to-photo-gallery/m-p/3608080#M68753</link>
      <description>I did some experimenting and in php.ini changed&lt;BR /&gt;&lt;BR /&gt;memory_limit = 8M&lt;BR /&gt;&lt;BR /&gt;to&lt;BR /&gt;&lt;BR /&gt;memory_limit = 24M&lt;BR /&gt;&lt;BR /&gt;and the upload worked. Does this not increase server load? Are there any dangers with leaving this setting to 24M&lt;BR /&gt;&lt;BR /&gt;Bob&lt;BR /&gt;</description>
      <pubDate>Sun, 21 Aug 2005 12:03:33 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-uploading-files-to-photo-gallery/m-p/3608080#M68753</guid>
      <dc:creator>Robert Isaac_1</dc:creator>
      <dc:date>2005-08-21T12:03:33Z</dc:date>
    </item>
    <item>
      <title>Re: Problem uploading files to photo gallery</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-uploading-files-to-photo-gallery/m-p/3608081#M68754</link>
      <description>I believe this setting is for maximum amount of memory a PHP script is allowed to consume on the server (for each execution). Check whether there is any modification done in your scripts which makes it to consume more memory while running.&lt;BR /&gt;&lt;BR /&gt;check this website for more information&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://www.mcs.vuw.ac.nz/technical/software/PHP/configuration.html" target="_blank"&gt;http://www.mcs.vuw.ac.nz/technical/software/PHP/configuration.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Hope this helps,&lt;BR /&gt;Gopi</description>
      <pubDate>Mon, 22 Aug 2005 06:52:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-uploading-files-to-photo-gallery/m-p/3608081#M68754</guid>
      <dc:creator>Gopi Sekar</dc:creator>
      <dc:date>2005-08-22T06:52:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem uploading files to photo gallery</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-uploading-files-to-photo-gallery/m-p/3608082#M68755</link>
      <description>You should also check the option:&lt;BR /&gt;&lt;BR /&gt;post_max_size&lt;BR /&gt;&lt;BR /&gt;In the php.ini configuration file.</description>
      <pubDate>Mon, 22 Aug 2005 07:37:41 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-uploading-files-to-photo-gallery/m-p/3608082#M68755</guid>
      <dc:creator>Ivan Ferreira</dc:creator>
      <dc:date>2005-08-22T07:37:41Z</dc:date>
    </item>
    <item>
      <title>Re: Problem uploading files to photo gallery</title>
      <link>https://community.hpe.com/t5/operating-system-linux/problem-uploading-files-to-photo-gallery/m-p/3608083#M68756</link>
      <description>I have&lt;BR /&gt;&lt;BR /&gt;post_max_size = 8M&lt;BR /&gt;&lt;BR /&gt;Bob</description>
      <pubDate>Mon, 22 Aug 2005 08:36:17 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/problem-uploading-files-to-photo-gallery/m-p/3608083#M68756</guid>
      <dc:creator>Robert Isaac_1</dc:creator>
      <dc:date>2005-08-22T08:36:17Z</dc:date>
    </item>
  </channel>
</rss>

