<?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>kristianfrandsen.com &#187; web-server</title>
	<atom:link href="http://kristianfrandsen.com/tag/web-server/feed/" rel="self" type="application/rss+xml" />
	<link>http://kristianfrandsen.com</link>
	<description>En nørds hverdag</description>
	<lastBuildDate>Thu, 22 Sep 2011 11:11:03 +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>Installation of PHP5 on Debian Etch running Plesk 8.2.0</title>
		<link>http://kristianfrandsen.com/2008/05/debian-etch-plesk-820-and-php5/</link>
		<comments>http://kristianfrandsen.com/2008/05/debian-etch-plesk-820-and-php5/#comments</comments>
		<pubDate>Mon, 19 May 2008 20:38:00 +0000</pubDate>
		<dc:creator>Kristian Ellebæk Frandsen</dc:creator>
				<category><![CDATA[Teknologi]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[configuration]]></category>
		<category><![CDATA[debian]]></category>
		<category><![CDATA[etch]]></category>
		<category><![CDATA[installation]]></category>
		<category><![CDATA[php4]]></category>
		<category><![CDATA[php5]]></category>
		<category><![CDATA[plesk]]></category>
		<category><![CDATA[putty]]></category>
		<category><![CDATA[server]]></category>
		<category><![CDATA[web-server]]></category>
		<category><![CDATA[websites]]></category>

		<guid isPermaLink="false">http://kristianfrandsen.com/?p=149</guid>
		<description><![CDATA[Hello, First of all please excuse my bad english. Its a bit rusty. Today I will write a short description on how I installed PHP5 on Debian Etch running Plesk 8.2.0. I had a lot of trouble finding a solution online, but I managed to install it after all. I got some help from some [...]]]></description>
			<content:encoded><![CDATA[<p>Hello,</p>
<p>First of all please excuse my bad english. Its a bit rusty.</p>
<p>Today I will write a short description on how I installed PHP5 on Debian Etch running Plesk 8.2.0. I had a lot of trouble finding a solution online, but I managed to install it after all.</p>
<p>I got some help from some forums and from a friend (Thanks a lot to Beboo aka. Niklas).</p>
<p>For about a week ago I bought a dedicated server running Plesk 8.2.0 on Debian Etch. My problem was that Plesk 8.2.0 was installed with PHP4 (standard installation), but I wanted the new features in PHP5. I wanted PHP5 to be installed and I wanted it to work with Plesk aswell.</p>
<p>At first I logged on using a SSH-client. Is use PuTTY. Its a great SSH-client. Find it at <a href="http://www.putty.nl/">http://www.putty.nl/</a>.<br />
After logging on through the SSH-client I switched (used the command &#8220;su&#8221;) to root. It is required you are logged on as root to make the next steps.</p>
<p><strong>Step 1: Install Plesk PHP5 Configurator package</strong><br />
To get PHP5 to work properly with Plesk I downloaded the Plesk PHP5 Configurator package by writing the following in one line:</p>
<p style="padding-left: 30px;"><em>echo &#8220;deb </em><em>http://autoinstall.plesk.com/debian/PSA_8.2.0</em><em> etch all&#8221; &gt;&gt; /etc/apt/sources.list &amp;&amp; apt-get update</em></p>
<p><strong>Step 2:</strong> <strong>Installing PHP5</strong><br />
After downloading the configurator packages for Plesk I installed PHP5 with the packages I needed. I did that by using apt-get:</p>
<p style="padding-left: 30px;"><em>apt-get install psa-php5-configurator php5 libapache2-mod-php5 php5-cli php5-common php5-curl php5-gd php5-imap php5-mysql</em></p>
<p>To make the installation more suidable for you, you can add and/or remove the packages you need for your own server. However do not remove the package &#8220;psa-php5-configurator&#8221; as it is the configurator for Plesk 8.2.0.</p>
<p><strong>Step 3: Remove PHP4 from Apache configuration</strong><br />
Currently both PHP4 and PHP5 is installed in the Apache configuration. We need to change that. Write the following:</p>
<p style="padding-left: 30px;"><span style="font-family: Courier New;">rm /etc/apache2/mods-enabled/php4*</span></p>
<p>Note that you can always re-add PHP4 to the Apache configuration. You do that from the &#8220;mods-available&#8221;-folder.</p>
<p><strong>Step 4: Restart Apache</strong><br />
The last thing to do is just to restart the Apache web-server. You do that by writing:</p>
<p style="padding-left: 30px;"><span style="font-family: Courier New;">/etc/init.d/apache2 restart</span></p>
<p>After step 4 you are finished installing PHP5 on your Debian Etch server running Plesk 8.2.0.<br />
You can now upload a php-file containing the following code:<br />
<code>&lt;?php<br />
phpinfo();<br />
?&gt;</code></p>
<p>Then go to the php-file in your browser. The website should now tell you, that it is running PHP5.</p>
<p>Have a great day !</p>
]]></content:encoded>
			<wfw:commentRss>http://kristianfrandsen.com/2008/05/debian-etch-plesk-820-and-php5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

