<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>the XCEPtion proves the rule &#187; httpd Spezial</title>
	<atom:link href="http://www.xcep.net/blog/tag/httpd-spezial/feed" rel="self" type="application/rss+xml" />
	<link>http://www.xcep.net/blog</link>
	<description></description>
	<lastBuildDate>Mon, 06 Feb 2012 09:51:01 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>[SERVER] PEAR und Confixx</title>
		<link>http://www.xcep.net/blog/2009/05/29/server-pear-und-confixx/index.php</link>
		<comments>http://www.xcep.net/blog/2009/05/29/server-pear-und-confixx/index.php#comments</comments>
		<pubDate>Fri, 29 May 2009 11:52:53 +0000</pubDate>
		<dc:creator>tXptr</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Confixx]]></category>
		<category><![CDATA[httpd Spezial]]></category>
		<category><![CDATA[PEAR]]></category>
		<category><![CDATA[PHP]]></category>
		<category><![CDATA[Server]]></category>

		<guid isPermaLink="false">http://www.xcep.net/blog/?p=128</guid>
		<description><![CDATA[Um PEAR auf einem Server mit Confixx 3 Verwaltung nutzen zu können, sollten folgende Schritte zu einem funktionierenden Ergebnis führen: (Ich  gehe von einem Server mit Ubuntu Betriebssystem aus) apt-get install php-pear Danach liegt PEAR im Verzeichnis /usr/share/php/ Nun kann man über die Konsole noch zusätzliche PEAR-Pakete installieren. Um PEAR auf den verschiedenen &#8220;web&#8217;s&#8221; von [...]]]></description>
			<content:encoded><![CDATA[<p>Um PEAR auf einem Server mit Confixx 3 Verwaltung nutzen zu können, sollten folgende Schritte zu einem funktionierenden Ergebnis führen:<br />
(Ich  gehe von einem Server mit Ubuntu Betriebssystem aus)</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;">apt-get install php-pear</pre></div></div>

<p>Danach liegt PEAR im Verzeichnis /usr/share/php/<br />
Nun kann man über die Konsole noch zusätzliche PEAR-Pakete installieren.</p>
<p>Um PEAR auf den verschiedenen &#8220;web&#8217;s&#8221; von Confixx verfügbar zu machen, geht man im Confixx-Admin-Bereich auf &#8220;Einstellungen&#8221; &#8211;&gt; &#8220;htttpd Spezial&#8221;. Wählt dann &#8220;Einen Kunden ändern&#8221;. Danach das entsprechende &#8220;web&#8221; aus der Liste &#8220;wählen&#8221;. Jetzt auf &#8220;Erweiterter Modus&#8221; klicken und in das Textfeld folgenden Code einfügen (X hinter web steht für die Nummer des &#8220;web&#8221;):</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;">php_admin_value include_path .:/var/www/webX/html/:/var/www/webX/phptmp/:/var/www/webX/files/:/var/www/webX/atd/:/usr/share/php/
php_admin_value safe_mode_exec_dir /usr/share/php/
php_admin_value safe_mode_include_dir /usr/share/php/</pre></div></div>

<p>Beim Speichern darauf achten, dass folgender Eintrag ausgewählt ist: &#8220;<label for="ueberschreibenid_ja">für alle Domains des Kunden setzen</label>&#8220;. Jetzt wartet man entweder ein paar Minuten bis Confixx die Einstellungen übernimmt und neu lädt oder man geht in die &#8220;Update Intervalle&#8221; und führt einen &#8220;Reload&#8221; direkt aus. Zur Sicherheit empfehle ich allerdings noch:</p>

<div class="wp_syntax"><div class="code"><pre class="ini" style="font-family:monospace;">/etc/init.d/apache2 restart</pre></div></div>

<p>Nun kann man PEAR trotz eingeschaltetem Safe-Mode ganz normal benutzen. Um zum Beispiel den Spreadsheet Excel Writer zu nutzen, trägt man in die entsprechende PHP-Datei einfach nur folgendes ein:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">require_once</span> <span style="color: #0000ff;">'Spreadsheet/Excel/Writer.php'</span><span style="color: #339933;">;</span></pre></div></div>

]]></content:encoded>
			<wfw:commentRss>http://www.xcep.net/blog/2009/05/29/server-pear-und-confixx/index.php/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

