<?xml version="1.0" encoding="UTF-8"?>

<rss version="2.0"
 xmlns:blogChannel="http://backend.userland.com/blogChannelModule"
>

<channel>
<title>Parallels knowledgebase (KB)</title>
<link>http://kb.parallels.com/</link>
<description>Parallels knowledgebase (KB)</description>
<language>en</language>
<copyright>Copyright 2008 Parallels</copyright>
<pubDate>Wed, 10 Sep 2008 00:00:00 +0600</pubDate>
<lastBuildDate>Wed, 10 Sep 2008 00:00:00 +0600</lastBuildDate>
<webMaster>rt-team@parallels.com</webMaster>

<item>
<title><![CDATA[How do I upgrade PHP to version 5 on Debian server with Plesk installed?]]></title>
<link>http://kb.parallels.com/en/1782</link>
<description><![CDATA[<div id="article">
	




	<div id="kb" class="kb">
		<div class="article-container">
			<h2 class="title">How do I upgrade PHP to version 5 on Debian server with Plesk installed?</h2>
			<div class="ab-frame"><div class="bl"><div class="br"><div class="tl"><div class="tr"><!-- frame -->
				<div class="articleProperty">
					<div>Article ID: 1782&nbsp;</div>
					<div>Last Review: Feb,13 2009</div>
					<tr>
						<td>Author: </td>
						<td>Vitaly Malakhov</td>
					</tr>
					<br/>
					<tr>
						<td>Last updated by: </td>
						<td>Vitaly Malakhov</td>
					</tr>
					<strong>APPLIES TO:</strong>
					<div class="articleApplies">
						<ul>
							<li>Plesk 8.x for Linux/Unix</li>
						</ul>
					</div>
				</div><!-- articleProperty -->
			</div></div></div></div></div><!-- frame -->

			<div class="article-internal-flag"></div>

			<div id="article-content">
				<div class="article-part">
					<h2>Resolution</h2>
					<div>PHP on Debian can be upgrade in the following way:&nbsp;</div><div>&nbsp;</div><div>1. Comment the Plesk source in the <strong>/etc/apt/sources.list</strong> file, something like:</div> <em><br /></em> <div><span style='font-family: courier new,courier;font-size: 12px;'># deb <a href="http://kb.parallels.comhttp://autoinstall.plesk.com/debian/PSA_8.1.0">http://autoinstall.plesk.com/debian/PSA_8.1.0</a>&nbsp;sarge all</span></div> <br /> <div>and update:</div> <br /> <div><div class="commandline"><code># apt-get update</code></div></div> <br /> <div>2. run <span style="font-weight: bold;">`</span><strong>apt-cache search | grep php5</strong>` command to see wich packages are available</div> <br /> <div>3. install the necessary php5 packages, for example:<br /><br />  <div class="commandline"><code># apt-get install php5 php5-common php5-gd php5-imap php5-mysql php5-xmlrpc php5-cgi php5-xsl php5-curl php5-cli</code></div></div><br /><div>4. remove libapache2-mod-php4 and psa-php4-configurator:</div> <br /> <div><div class="commandline"><code># dpkg -r --force-depends libapache2-mod-php4 psa-php4-configurator</code></div></div> <br /> <div>5. activated Plesk source in the file /etc/apt/sources.list and update:</div>   <br /> <div><div class="commandline"><code># apt-get update</code></div></div> <br /> <div>6. install libapache2-mod-php5 psa-php5-configurator:</div> <br /> <div><div class="commandline"><code># apt-get install libapache2-mod-php5 psa-php5-configurator</code></div></div>
				</div>
				<div class="keywords"><strong>Keywords:</strong> how to upgrade php debian</div>
			</div>
		</div><!-- article-container -->


			<br/><br/>

			<div id="SubscriptionLink24Article" class="subscriptionLink2">
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=1782&ArticleLanguage=en&Product=&Category="><img src="http://kb.parallels.com/images/mail.png" width="15" height="15" alt="Subscription for changes to this article"></a>
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=1782&ArticleLanguage=en&Product=&Category=">Subscription for changes to this article</a>

<script type="text/javascript">

$(document).ready(function() {
	$('#SubscriptionLink24Article a').each(function(){
		$(this).click(function(event) {
			event.preventDefault();
			MainPageContentHide();
			$('#subscription').html('');
			$.get('/Stuff/Subscription', {
													'Type' : 'Article',
													'ArticleID' : '1782',
													'ArticleLanguage' : 'en',
													'Product' : '',
													'Category' : ''
												}, function(data) {
																	$('#subscription').html(data);
																	$('#subscription').show();
																	SUBbuildsubmenus_product();
																});
		});
	});
});

</script>

</div>





	</div><!-- kb -->

</div><!-- article -->


]]></description>
<author>Vitaly Malakhov</author>
<guid isPermaLink="false">1420 LastUpdated: 2009-02-13 07:27:18</guid>
<pubDate>2007-04-06 06:01:56</pubDate>
</item>
</channel>
</rss>



