<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="de">
	<id>https://znil.net/index.php?action=history&amp;feed=atom&amp;title=Apache2_PHP_Upload_bringt_500_Internal_Server_Error</id>
	<title>Apache2 PHP Upload bringt 500 Internal Server Error - Versionsgeschichte</title>
	<link rel="self" type="application/atom+xml" href="https://znil.net/index.php?action=history&amp;feed=atom&amp;title=Apache2_PHP_Upload_bringt_500_Internal_Server_Error"/>
	<link rel="alternate" type="text/html" href="https://znil.net/index.php?title=Apache2_PHP_Upload_bringt_500_Internal_Server_Error&amp;action=history"/>
	<updated>2026-04-28T05:31:17Z</updated>
	<subtitle>Versionsgeschichte dieser Seite in znilwiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://znil.net/index.php?title=Apache2_PHP_Upload_bringt_500_Internal_Server_Error&amp;diff=12624&amp;oldid=prev</id>
		<title>BLinz am 9. März 2021 um 22:30 Uhr</title>
		<link rel="alternate" type="text/html" href="https://znil.net/index.php?title=Apache2_PHP_Upload_bringt_500_Internal_Server_Error&amp;diff=12624&amp;oldid=prev"/>
		<updated>2021-03-09T22:30:13Z</updated>

		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;de&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Nächstältere Version&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Version vom 10. März 2021, 00:30 Uhr&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l19&quot;&gt;Zeile 19:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Zeile 19:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Die Lösung fand ich nach &lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;lnagen &lt;/del&gt;suchen. Tatsächlich ist die Grenze bei 128KByte.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Die Lösung fand ich nach &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;langen &lt;/ins&gt;suchen. Tatsächlich ist die Grenze bei 128KByte.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Grund ist, das Ihr eure Webseite vermutlich ebenfalls mit &amp;quot;Fast-CGI&amp;quot; betreibt.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Grund ist, das Ihr eure Webseite vermutlich ebenfalls mit &amp;quot;Fast-CGI&amp;quot; betreibt.&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Und da gibt es einen Parameter&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;Und da gibt es einen Parameter&amp;lt;br&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>BLinz</name></author>
	</entry>
	<entry>
		<id>https://znil.net/index.php?title=Apache2_PHP_Upload_bringt_500_Internal_Server_Error&amp;diff=9212&amp;oldid=prev</id>
		<title>BLinz2: Textersetzung - „&lt;comments&gt;“ durch „&lt;comments /&gt;“</title>
		<link rel="alternate" type="text/html" href="https://znil.net/index.php?title=Apache2_PHP_Upload_bringt_500_Internal_Server_Error&amp;diff=9212&amp;oldid=prev"/>
		<updated>2017-08-06T18:51:08Z</updated>

		<summary type="html">&lt;p&gt;Textersetzung - „&amp;lt;comments&amp;gt;“ durch „&amp;lt;comments /&amp;gt;“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;Neue Seite&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;
Ein Problem was mich eben fast Wahnsinnig gemacht hatte:&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Meine Webseite läuft zum Zeitpunkt der Erstellung dieses Artikels auf einem Ubuntu 14.04.x LTS mit Apache2 als Webserver.&amp;lt;br&amp;gt;&lt;br /&gt;
Ich konnte scheinbar keine Dateien mehr in Mediawiki hochladen. Es gab immer eine Fehlermeldung&amp;lt;br&amp;gt;&lt;br /&gt;
 500 Internal Server Error&lt;br /&gt;
Nach etwas probieren fand ich heraus, das ich kleinere Dateien unter 100KB hochladen konnte, nur nichts größeres.&amp;lt;br&amp;gt;&lt;br /&gt;
Die üblichen Verdächtigen wie&amp;lt;br&amp;gt;&lt;br /&gt;
 upload_max_filesize = 64M&lt;br /&gt;
 post_max_value = 64M&lt;br /&gt;
 post_max_size = 64M&lt;br /&gt;
hatte ich wie Ihr seht schon alle hochgesetzt.&amp;lt;br&amp;gt;&lt;br /&gt;
Und vor ein paar Tagen ging doch auch noch alles.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Das einzige was ich gemacht hatte war ein&lt;br /&gt;
 apt-get update&lt;br /&gt;
 apt-get upgrade&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Die Lösung fand ich nach lnagen suchen. Tatsächlich ist die Grenze bei 128KByte.&amp;lt;br&amp;gt;&lt;br /&gt;
Grund ist, das Ihr eure Webseite vermutlich ebenfalls mit &amp;quot;Fast-CGI&amp;quot; betreibt.&amp;lt;br&amp;gt;&lt;br /&gt;
Und da gibt es einen Parameter&amp;lt;br&amp;gt;&lt;br /&gt;
 FcgidMaxRequestLen&lt;br /&gt;
Der hatte wohl bisher immer einen Standardwert von 1GByte ... und nun von 128KByte .... ARGGHHHH!&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Kleiner Test in der einer &amp;lt;code&amp;gt;.vhost&amp;lt;/code&amp;gt; Konfigurationsdatei einer Webseite bestätigte die Ursache und Lösung.&amp;lt;br&amp;gt;&lt;br /&gt;
Nun wollte ich das natürlich nicht auf allen Webseiten von Hand eintragen sondern einmal global:&amp;lt;br&amp;gt;&lt;br /&gt;
 nano /etc/apache2/mods-available/fcgid.conf&lt;br /&gt;
und diesen Block in die Datei einfügen:&amp;lt;br&amp;gt;&lt;br /&gt;
 &amp;lt;IfModule mod_fcgid.c&amp;gt;&lt;br /&gt;
    FcgidMaxRequestLen 1073741824&lt;br /&gt;
 &amp;lt;/IfModule&amp;gt;&lt;br /&gt;
Falls es dort schon einen Abschnitt &amp;lt;code&amp;gt;mod_fcgid.c&amp;lt;/code&amp;gt; gibt müsst Ihr die Zeile da einfach einfügen.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
Speichert die Datei und startet den Apache Webserver neu:&lt;br /&gt;
 service apache2 restart&lt;br /&gt;
und schon geht es wieder überall.&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
&amp;lt;br&amp;gt;&lt;br /&gt;
----&lt;br /&gt;
&amp;lt;comments /&amp;gt;&lt;/div&gt;</summary>
		<author><name>BLinz2</name></author>
	</entry>
</feed>