<?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[[Info] PHP and php.ini in Plesk]]></title>
<link>http://kb.parallels.com/en/1770</link>
<description><![CDATA[<div id="article">
	




	<div id="kb" class="kb">
		<div class="article-container">
			<h2 class="title">[Info] PHP and php.ini in Plesk</h2>
			<div class="ab-frame"><div class="bl"><div class="br"><div class="tl"><div class="tr"><!-- frame -->
				<div class="articleProperty">
					<div>Article ID: 1770&nbsp;</div>
					<div>Last Review: Mar,19 2009</div>
					<tr>
						<td>Author: </td>
						<td>Dmitry Frantsev</td>
					</tr>
					<br/>
					<tr>
						<td>Last updated by: </td>
						<td>Oleg Beznosov</td>
					</tr>
					<strong>APPLIES TO:</strong>
					<div class="articleApplies">
						<ul>
							<li>Parallels Plesk Panel for Windows</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>
					This article describes versions of PHP that can be used in Plesk and recommended configuration of php.ini files.<br /><br />There are two versions of PHP included to and supported by Plesk: PHP4 and PHP5. PHP can work in two modes: as CGI or as ISAPI. Both versions of PHP use php.ini files, that are different depending on &nbsp;version of PHP.<br /><br />Default location of php.ini for PHP4 is Windows base directory <em>%systemroot%.<br /></em><br />Default location of php.ini for PHP5 is PleskPHP5 base directory <em>%plesk_dir%Additional\PleskPHP5<br /></em><br />A custom php.ini with PHP4 in CGI mode can be used. In order to apply that, the php.ini file needs to be place into the <em>/httpdocs</em> folder.<br /><br />But there is no such option with PHP4 in ISAPI mode which always uses the default php.ini of PHP4. Also it is impossible with PHP5 in either modes, where default php.ini of PHP5 is used.<br /><br />The default location of php.ini file in PHP5 is defined by the following value in the registry:<br /><br /><em>HKEY_LOCAL_MACHINE\SOFTWARE\PHP\5\IniFilePath</em>
				</div>
				<div class="article-part">
					<h2>Additional information</h2>
					Consult with the article for more information on differences between ISAPI and CGI modes:<br /><br /><a href="http://kb.parallels.comhttp://msdn2.microsoft.com/en-us/library/ms525172.aspx">http://msdn2.microsoft.com/en-us/library/ms525172.aspx</a>
				</div>
			</div>
		</div><!-- article-container -->


			<br/><br/>

			<div id="SubscriptionLink24Article" class="subscriptionLink2">
<a href="http://kb.parallels.com/subscriptions/index.html?Type=Article&ArticleID=1770&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=1770&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' : '1770',
													'ArticleLanguage' : 'en',
													'Product' : '',
													'Category' : ''
												}, function(data) {
																	$('#subscription').html(data);
																	$('#subscription').show();
																	SUBbuildsubmenus_product();
																});
		});
	});
});

</script>

</div>





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

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


]]></description>
<author>Dmitry Frantsev</author>
<guid isPermaLink="false">1408 LastUpdated: 2009-03-19 10:01:34</guid>
<pubDate>2007-03-29 22:27:21</pubDate>
</item>
</channel>
</rss>



