<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
	<channel>
		<atom:link href="http://fbb.just4test.de/extern.php?action=feed&amp;tid=4065&amp;type=rss" rel="self" type="application/rss+xml" />
		<title><![CDATA[Informationen für CMS/made simple / [GELÖST] phpinfo und Systeminfo (CMSMS) divergieren]]></title>
		<link>http://www.cmsmadesimple.de/forum/viewtopic.php?id=4065</link>
		<description><![CDATA[Die aktuellsten Beiträge in [GELÖST] phpinfo und Systeminfo (CMSMS) divergieren.]]></description>
		<lastBuildDate>Thu, 21 Aug 2014 11:56:56 +0000</lastBuildDate>
		<generator>FluxBB</generator>
		<item>
			<title><![CDATA[Re: [GELÖST] phpinfo und Systeminfo (CMSMS) divergieren]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32071#p32071</link>
			<description><![CDATA[<p>Der Webserver entscheidet je nach Anfrage darüber, welche PHP-Version für diese Anfrage verwendet wird.<br />Kommst Du über die Subdomain, verwendet er das, was Du für die Subdomain eingestellt hast.<br />Kommst Du über die Hauptdomain und den Unterordner, verwendet er das, was für die Hauptdomain gilt.<br />Besser kann ich es Dir leider auch nicht erklären.<br />Ist einfach so <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/wink.png" alt="wink" /></p><p>root_path ist dabei egal. <br />Entscheidend ist die Anfrage (also die URL).</p><p>Um dieses Problem zu vermeiden, kannst Du ja mit einer .htaccess im Unterordner der Subdomain alle Anfragen, die nicht über die Subdomain kommen, auf die Subdomain umleiten:</p><div class="codebox"><pre><code># Alles was nicht mit Subdomain beginnt auf Subdomain umleiten:
RewriteCond %{HTTP_HOST}%{REQUEST_URI} !^unterordner\.domain\.de/(.*)
RewriteRule  (.*)  http://unterordner.domain.de/%1  [R=301,L]

# ODER

# alles was mit hauptdomain beginnt auf subdomain umleiten:
RewriteCond %{HTTP_HOST}%{REQUEST_URI} ^(www.)?domain.de/unterordner/(.*)
RewriteRule  (.*)  http://unterordner.domain.de/%1  [R=301,L]</code></pre></div><p>Oder Du fragst einfach mal Deinen Provider, ob und wie Du die PHP Version via .htaccess einstellen kannst. Dann kannst Du generell für den Unterordner - egal ob über subdomain oder hauptdomain - eine bestimmte PHP Version vorgeben.</p>]]></description>
			<author><![CDATA[dummy@example.com (NaN)]]></author>
			<pubDate>Thu, 21 Aug 2014 11:56:56 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32071#p32071</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] phpinfo und Systeminfo (CMSMS) divergieren]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32070#p32070</link>
			<description><![CDATA[<p>Ah, das war&#039;s.<br />Login funktioniert mit beiden Varianten: Unter <em>domain.de/unterordner/admin</em> kommt die Version des Hauptordners. Unter <em>unterordner.domain.de/admin</em> ist die PHP-Version korrekt und register_globals aus.</p><p>Doofe Fragen: Wie funktioniert das? root_path ist immer gleich, da ist der Ordner entscheidend, aber die PHP-Version ist an die Subdomain gekoppelt? Ich hab davon eine viel zu physische Vorstellung. Kann mir das jemand mit Legohäuschen erklären?&#160; <img src="http://www.cmsmadesimple.de/forum/plugins/ezbbc/style/smilies/ops.png" alt="ops" /></p>]]></description>
			<author><![CDATA[dummy@example.com (COR9)]]></author>
			<pubDate>Thu, 21 Aug 2014 11:03:29 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32070#p32070</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] phpinfo und Systeminfo (CMSMS) divergieren]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32069#p32069</link>
			<description><![CDATA[<p>Gäbe da noch diese beiden:</p><div class="codebox"><pre><code>&lt;?php

echo phpversion() . &#039;&lt;br/&gt;&#039;;
echo PHP_VERSION;

?&gt;</code></pre></div><p>Dürfte aber das gleiche passieren.</p><p>Wie sieht denn im Backend die URL aus?<br />Immer noch Subdomain?</p>]]></description>
			<author><![CDATA[dummy@example.com (NaN)]]></author>
			<pubDate>Thu, 21 Aug 2014 10:43:22 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32069#p32069</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] phpinfo und Systeminfo (CMSMS) divergieren]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32068#p32068</link>
			<description><![CDATA[<p>Gibt es noch weitere Parameter, an denen man ablesen könnte, welche PHP-Version tatsächlich im Einsatz ist?</p>]]></description>
			<author><![CDATA[dummy@example.com (COR9)]]></author>
			<pubDate>Thu, 21 Aug 2014 09:45:12 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32068#p32068</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] phpinfo und Systeminfo (CMSMS) divergieren]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32066#p32066</link>
			<description><![CDATA[<p>Die über ein UDT, (sowohl via Seite als auch Seitentemplate) eingebundene PHP-Info zeigt im Frontend die (gewünschte) PHP-Version des Unterordners/der Subdomain.</p><p>Der im Backend ausgeführte Tag zeigt wie die Systeminfo die alte PHP-Version (des Hauptordners).</p>]]></description>
			<author><![CDATA[dummy@example.com (COR9)]]></author>
			<pubDate>Thu, 21 Aug 2014 08:55:58 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32066#p32066</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] phpinfo und Systeminfo (CMSMS) divergieren]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32065#p32065</link>
			<description><![CDATA[<p>Kurios...<br />Erstelle mal einen UDT mit phpinfo(); und führe den mal aus.<br />(Sowohl im Seiteninhalt/Temlate einfügen als auch im Backend ausführen.)</p>]]></description>
			<author><![CDATA[dummy@example.com (NaN)]]></author>
			<pubDate>Thu, 21 Aug 2014 06:23:32 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32065#p32065</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] phpinfo und Systeminfo (CMSMS) divergieren]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32063#p32063</link>
			<description><![CDATA[<p>Wie im ersten Post schon beschrieben, zeigt sie die korrekte Version 5.4.31 an. Aber CMSMS im Unterordner zeigt 5.2.17 an. root_path im Backend zeigt korrekt auf den Unterordner. Hab&#039;s sogar noch mal in die config reingeschrieben.</p><p>(Hatte die phpinfo schon vor NaNs Vorschlag korrekt angelegt ;-)</p>]]></description>
			<author><![CDATA[dummy@example.com (COR9)]]></author>
			<pubDate>Wed, 20 Aug 2014 19:53:59 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32063#p32063</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] phpinfo und Systeminfo (CMSMS) divergieren]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32060#p32060</link>
			<description><![CDATA[<p>Hast du die Datei aufgerufen? Was für eine PHP Version wird angezeigt?</p>]]></description>
			<author><![CDATA[dummy@example.com (nockenfell)]]></author>
			<pubDate>Wed, 20 Aug 2014 19:22:44 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32060#p32060</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] phpinfo und Systeminfo (CMSMS) divergieren]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32058#p32058</link>
			<description><![CDATA[<p>Die erwähnte phpinfo-Datei liegt in dem Unterordner, in dem auch das CMS steckt. Ich habe sie selbst angelegt. So wie Du vorschlägst, NaN.</p>]]></description>
			<author><![CDATA[dummy@example.com (COR9)]]></author>
			<pubDate>Wed, 20 Aug 2014 17:08:26 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32058#p32058</guid>
		</item>
		<item>
			<title><![CDATA[Re: [GELÖST] phpinfo und Systeminfo (CMSMS) divergieren]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32056#p32056</link>
			<description><![CDATA[<p>Leg doch mal eine eigene PHP-Datei unter der Subdomain ab, mit dem Inhalt </p><div class="codebox"><pre><code>&lt;?php

phpinfo(); 

?&gt;</code></pre></div>]]></description>
			<author><![CDATA[dummy@example.com (NaN)]]></author>
			<pubDate>Wed, 20 Aug 2014 15:36:41 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32056#p32056</guid>
		</item>
		<item>
			<title><![CDATA[[GELÖST] phpinfo und Systeminfo (CMSMS) divergieren]]></title>
			<link>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32054#p32054</link>
			<description><![CDATA[<p>Ich habe auf einem Test-Space einen Unterordner (darin CMSMS 1.11.11) angelegt und lasse eine Subdomain drauf zeigen. Im Kundenbereich meines Accounts (Hoster: Hosting Agency) ist es möglich, Subdomains eine eigene PHP-Version zuzuweisen. Auch register_globals kann man hier ein- und ausschalten.</p><p>Schon bei der Installation warnt mich CMSMS, dass nur PHP 5.2.17 anstatt wie von mir eingestellt 5.4.31 drauf sei. Die phpinfo-Datei zeigt aber korrekt die neuere Version an.</p><p>Die Systeminfo nach Installation behauptet wieder die alte PHP-Version (des public_html-Ordners), auch register_globals ist angeblich an.</p><p>Wem soll ich glauben? Der phpinfo oder dem CMS?</p>]]></description>
			<author><![CDATA[dummy@example.com (COR9)]]></author>
			<pubDate>Wed, 20 Aug 2014 14:50:32 +0000</pubDate>
			<guid>http://www.cmsmadesimple.de/forum/viewtopic.php?pid=32054#p32054</guid>
		</item>
	</channel>
</rss>
