<?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[I have Plesk 8.x and PHP 5 installed. When I try to install some application from Application Vault onto a domain, the error "PHP : The component version on the server does not satisfy the site application's requirements" appears.]]></title>
<link>http://kb.parallels.com/en/1122</link>
<description><![CDATA[<div id="article">
	




	<div id="kb" class="kb">
		<div class="article-container">
			<h2 class="title">I have Plesk 8.x and PHP 5 installed. When I try to install some application from Application Vault onto a domain, the error "PHP : The component version on the server does not satisfy the site application's requirements" appears.</h2>
			<div class="ab-frame"><div class="bl"><div class="br"><div class="tl"><div class="tr"><!-- frame -->
				<div class="articleProperty">
					<div>Article ID: 1122&nbsp;</div>
					<div>Last Review: Mar,19 2009</div>
					<tr>
						<td>Author: </td>
						<td>Vitaly Malakhov</td>
					</tr>
					<br/>
					<tr>
						<td>Last updated by: </td>
						<td>Bezborodova Anastasiya</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>
					Some applications from Application Vault may not support PHP5 and may not work correctly with PHP 5. If PHP 5 support is not officially featured by this application vendor, then PHP dependency is set to 4.x for this application in Parallels Plesk Panel.<br /><br />For applications which officially support PHP 5 version PHP dependency is set to &gt;= 4.x.<br /><br />PHP dependency is set in the application info.xml file, for example for Coppermine:<br /><br /><span style='font-family: courier new,courier;font-size: 12px;'>/usr/local/psa/var/cgitory/Coppermine-1.3.3-28/info/info.xml</span><br /><br />REQUIREMENTS section in this file defines application requirements, for example:<br /><br />-------------for Coppermine:<br /><span style='font-family: courier new,courier;font-size: 12px;'>&lt;REQUIREMENTS&gt;</span><br /><span style='font-family: courier new,courier;font-size: 12px;'>&nbsp;&nbsp;&nbsp; &lt;APACHE_VHOST name=&quot;PHP&quot; value=&quot;on&quot; /&gt;</span><br /><span style='font-family: courier new,courier;font-size: 12px;'>&nbsp;&nbsp;&nbsp; &lt;DATABASE type=&quot;mysql&quot; name=&quot;&quot; username=&quot;&quot; passwd=&quot;&quot; host=&quot;localhost&quot; /&gt;</span><br /><span style='font-family: courier new,courier;font-size: 12px;'>&lt;/REQUIREMENTS&gt;</span><br /><br />-------------for phpBB:<br /><span style='font-family: courier new,courier;font-size: 12px;'>&lt;REQUIREMENTS&gt;</span><br /><span style='font-family: courier new,courier;font-size: 12px;'>&nbsp;&nbsp;&nbsp; &lt;APACHE_VHOST name=&quot;PHP&quot; value=&quot;on&quot; /&gt;</span><br /><span style='font-family: courier new,courier;font-size: 12px;'>&nbsp;&nbsp;&nbsp; &lt;DATABASE type=&quot;mysql&quot; name=&quot;&quot; username=&quot;&quot; passwd=&quot;&quot; host=&quot;localhost&quot; /&gt;</span><br /><span style='font-family: courier new,courier;font-size: 12px;'>&nbsp;&nbsp;&nbsp; &lt;VERSION name=&quot;PHP&quot; value=&quot;4.0.3&quot; rel=&quot;ge&quot; /&gt;</span><br /><span style='font-family: courier new,courier;font-size: 12px;'>&lt;/REQUIREMENTS&gt;</span><br /><br />For phpBB this means that it requires PHP to be enabled for the domain and its version should be greater then or equal to 4.0.3.<br /><br />There is no version specification for Coppermine, in such cases default requirement is applied which is:<br /><br /><span style='font-family: courier new,courier;font-size: 12px;'>&lt;VERSION name=&quot;PHP&quot; rel=&quot;eq&quot; value=&quot;4.x.x&quot; /&gt;</span><br /><br />i.e. PHP version should be equal to 4.x.x where x can be arbitrary digit. 'x' char here is only allowed for eq operator.<br /><br />Other valid operators are:<br /># lt - less then<br /># le - less or equal<br /># gt - greater then<br /># ge - greater or equal<br /># eq - equal<br /># ne - not equal<br /><br />Multiple VERSION directives are allowed, in this case they are concatenated with AND logic operator.<br /><br />If you want you can install and use an application on PHP 5 anyway. Note that application performance is not guaranteed in those case as it was not guaranteed by application vendor and was not tested by Parallels Plesk Panel QA.<br /><br />As an example, if you want to allow Coppemine applicatoin to be installable on system with PHP 5 you should add VERSION directive in its info.xml file in REQUIREMENTS section, like:<br /><br /><span style='font-family: courier new,courier;font-size: 12px;'>&lt;VERSION name=&quot;PHP&quot; value=&quot;4.0.3&quot; rel=&quot;ge&quot; /&gt;</span>
				</div>
			</div>
		</div><!-- article-container -->


			<br/><br/>

			<div id="SubscriptionLink24Article" class="subscriptionLink2">
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=1122&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=1122&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' : '1122',
													'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">767 LastUpdated: 2009-03-19 08:13:03</guid>
<pubDate>2008-10-06 09:11:04</pubDate>
</item>
</channel>
</rss>



