<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[php.ini how to set post max size?]]></title><description><![CDATA[<p dir="auto">Hi,</p>
<p dir="auto">did anyone manage to set post max size and/or upload max size etc. in the php.ini?</p>
<p dir="auto">I did this via the file browser in Cloudron like this:</p>
<p dir="auto">; Add custom PHP configuration in this file<br />
; Settings here are merged with the package's built-in php.ini<br />
post_max_size = 100000M<br />
upload_max_size = 100000M<br />
upload_max_filesize = 100000M</p>
<p dir="auto">But i still get the upload error "php post max size limit is too small".</p>
<p dir="auto">I'm probably editing the wrong php.ini ? I'm editing the one that i see in the file browser in cloudron in the lychee settings /lychee/php.ini</p>
<p dir="auto">Thanks in advance i will appreciate any help</p>
]]></description><link>https://forum.cloudron.io/topic/5870/php-ini-how-to-set-post-max-size</link><generator>RSS for Node</generator><lastBuildDate>Wed, 19 Aug 2026 05:31:53 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/5870.rss" rel="self" type="application/rss+xml"/><pubDate>Wed, 20 Oct 2021 12:43:49 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to php.ini how to set post max size? on Fri, 29 Oct 2021 20:03:34 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/teamcrw" aria-label="Profile: teamcrw">@<bdi>teamcrw</bdi></a> I think the issue is not related the php settings. When the settings are low, it says so in the UI like below:</p>
<p dir="auto"><img src="/assets/uploads/files/1635537263338-da9bd484-a37c-49d0-9c60-ea76a692d250-image-resized.png" alt="da9bd484-a37c-49d0-9c60-ea76a692d250-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I am wondering if the issue is <code>max_execution_time</code> per <a href="https://lycheeorg.github.io/docs/faq.html#i-cant-upload-large-photos" target="_blank" rel="noopener noreferrer nofollow ugc">https://lycheeorg.github.io/docs/faq.html#i-cant-upload-large-photos</a> . The default value is set to 200, so that's under 3 minutes (can set it to 0 also to disable). Can you set it to much larger value and try? How long does your upload of 1GB take?</p>
<p dir="auto">You can also set <code>APP_DEBUG=true</code> in the env file and then restart the app. Check for errors in the browser and also <code>Show Logs</code> in the lychee UI after upload fails.</p>
]]></description><link>https://forum.cloudron.io/post/38598</link><guid isPermaLink="true">https://forum.cloudron.io/post/38598</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Fri, 29 Oct 2021 20:03:34 GMT</pubDate></item><item><title><![CDATA[Reply to php.ini how to set post max size? on Fri, 22 Oct 2021 09:59:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a></p>
<p dir="auto">First, thank you for your time and for helping me out.</p>
<p dir="auto">So, i did a fresh install of lychee, and did exactly the same as you.<br />
In Diag View it shows the same as yours, see:</p>
<p dir="auto"><img src="/assets/uploads/files/1634896589270-screenshot-from-2021-10-22-11-51-56.png" alt="Screenshot from 2021-10-22 11-51-56.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">But i still get this error:</p>
<p dir="auto"><img src="/assets/uploads/files/1634896602655-screenshot-from-2021-10-22-11-55-57.png" alt="Screenshot from 2021-10-22 11-55-57.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">UPDATE: I also tried different browsers. Same error.</p>
]]></description><link>https://forum.cloudron.io/post/38250</link><guid isPermaLink="true">https://forum.cloudron.io/post/38250</guid><dc:creator><![CDATA[teamcrw]]></dc:creator><pubDate>Fri, 22 Oct 2021 09:59:20 GMT</pubDate></item><item><title><![CDATA[Reply to php.ini how to set post max size? on Thu, 21 Oct 2021 16:25:46 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/teamcrw" aria-label="Profile: teamcrw">@<bdi>teamcrw</bdi></a> Do you think you can try with a new install? Maybe there is some update issue, I can check after you can verify the below.</p>
<p dir="auto">This is what I did</p>
<ul>
<li>Installed a new package</li>
<li>Setup user and checked the Diag view.</li>
</ul>
<p dir="auto"><img src="/assets/uploads/files/1634833407748-8e9097af-e0d1-4073-87c0-fd2a55e3f862-image.png" alt="8e9097af-e0d1-4073-87c0-fd2a55e3f862-image.png" class=" img-fluid img-markdown" /></p>
<ul>
<li>Then, I go to File Manager and edit the <code>/app/data/php.ini</code> like below:</li>
</ul>
<pre><code>; Add custom PHP configuration in this file
; Settings here are merged with the package's built-in php.ini


post_max_size = 100000M
upload_max_size = 100000M
upload_max_filesize = 100000M
</code></pre>
<ul>
<li>
<p dir="auto">Restart the app</p>
</li>
<li>
<p dir="auto">Check the diag view again:<br />
<img src="/assets/uploads/files/1634833492286-5eed9f25-3732-4f2d-86a2-f0dae08a3920-image.png" alt="5eed9f25-3732-4f2d-86a2-f0dae08a3920-image.png" class=" img-fluid img-markdown" /></p>
</li>
</ul>
]]></description><link>https://forum.cloudron.io/post/38184</link><guid isPermaLink="true">https://forum.cloudron.io/post/38184</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 21 Oct 2021 16:25:46 GMT</pubDate></item><item><title><![CDATA[Reply to php.ini how to set post max size? on Thu, 21 Oct 2021 16:20:56 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/murgero" aria-label="Profile: murgero">@<bdi>murgero</bdi></a></p>
<p dir="auto">I already had the app ressources set to 2GB, i have now set it to 4GB, didn't change anything.</p>
]]></description><link>https://forum.cloudron.io/post/38182</link><guid isPermaLink="true">https://forum.cloudron.io/post/38182</guid><dc:creator><![CDATA[teamcrw]]></dc:creator><pubDate>Thu, 21 Oct 2021 16:20:56 GMT</pubDate></item><item><title><![CDATA[Reply to php.ini how to set post max size? on Thu, 21 Oct 2021 15:46:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/teamcrw" aria-label="Profile: teamcrw">@<bdi>teamcrw</bdi></a> Did you change the app's resources as well (will need to be 4GB since cloudron splits RAM 50/50 with swap)</p>
]]></description><link>https://forum.cloudron.io/post/38178</link><guid isPermaLink="true">https://forum.cloudron.io/post/38178</guid><dc:creator><![CDATA[murgero]]></dc:creator><pubDate>Thu, 21 Oct 2021 15:46:39 GMT</pubDate></item><item><title><![CDATA[Reply to php.ini how to set post max size? on Thu, 21 Oct 2021 12:57:37 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/murgero" aria-label="Profile: murgero">@<bdi>murgero</bdi></a></p>
<p dir="auto">i changed max_execution_time = 200 to max_execution_time = 200000, this didn't help.</p>
<p dir="auto">I also changed memory_limit = 256M to memory_limit = 2048M (i have enough RAM left on the server to do this). This didn't help either.</p>
]]></description><link>https://forum.cloudron.io/post/38168</link><guid isPermaLink="true">https://forum.cloudron.io/post/38168</guid><dc:creator><![CDATA[teamcrw]]></dc:creator><pubDate>Thu, 21 Oct 2021 12:57:37 GMT</pubDate></item><item><title><![CDATA[Reply to php.ini how to set post max size? on Thu, 21 Oct 2021 12:28:52 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/teamcrw" aria-label="Profile: teamcrw">@<bdi>teamcrw</bdi></a> You should also increase script execution time if you are upload large files like that.</p>
]]></description><link>https://forum.cloudron.io/post/38167</link><guid isPermaLink="true">https://forum.cloudron.io/post/38167</guid><dc:creator><![CDATA[murgero]]></dc:creator><pubDate>Thu, 21 Oct 2021 12:28:52 GMT</pubDate></item><item><title><![CDATA[Reply to php.ini how to set post max size? on Thu, 21 Oct 2021 10:35:16 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/girish" aria-label="Profile: girish">@<bdi>girish</bdi></a></p>
<p dir="auto">updated, restartet the app, set php.ini as in my previous comment, uploaded a 1GB .mp4 file and got an "unknown error from server".</p>
<p dir="auto">Here's the log:</p>
<p dir="auto">2021-10-21 10:32:54 -- notice  -- App\Metadata\Extractor::extract -- 126 -- Falling back to native adapter.<br />
2021-10-21 10:32:54 -- error   -- App\Metadata\Extractor::extract -- 121 -- Unable to probe /app/code/public/uploads/big/cb19f836c2830ff88ff45694565da65b.mp4<br />
2021-10-21 10:30:13 -- notice  -- App\Metadata\Extractor::extract -- 126 -- Falling back to native adapter.</p>
]]></description><link>https://forum.cloudron.io/post/38165</link><guid isPermaLink="true">https://forum.cloudron.io/post/38165</guid><dc:creator><![CDATA[teamcrw]]></dc:creator><pubDate>Thu, 21 Oct 2021 10:35:16 GMT</pubDate></item><item><title><![CDATA[Reply to php.ini how to set post max size? on Thu, 21 Oct 2021 00:36:13 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/teamcrw" aria-label="Profile: teamcrw">@<bdi>teamcrw</bdi></a> there was a bug in the package. I have pushed an update now. Can you update and check?</p>
]]></description><link>https://forum.cloudron.io/post/38143</link><guid isPermaLink="true">https://forum.cloudron.io/post/38143</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Thu, 21 Oct 2021 00:36:13 GMT</pubDate></item></channel></rss>