<?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>Control WebPanel Wiki &#187; php.ini per folder</title>
	<atom:link href="https://wiki.centos-webpanel.com/tag/php-ini-per-folder/feed" rel="self" type="application/rss+xml" />
	<link>https://wiki.centos-webpanel.com</link>
	<description>CentOS WebPanel Wiki</description>
	<lastBuildDate>Wed, 12 Feb 2025 20:38:16 +0000</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=4.1.1</generator>
	<item>
		<title>php.ini per folder</title>
		<link>https://wiki.centos-webpanel.com/php-ini-per-folder</link>
		<comments>https://wiki.centos-webpanel.com/php-ini-per-folder#comments</comments>
		<pubDate>Tue, 28 Jul 2015 09:25:27 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[php.ini per folder]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=372</guid>
		<description><![CDATA[Video instructions for custom php.ini All server with CWP can have custom php.ini file set per user account or per folder. User can manually create php.ini file and add values which needs to be changed in it. Location of the global server php.ini file is /usr/local/php/php.ini Location of the global per account php.ini file is [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><strong>Video instructions for custom php.ini</strong></p>
<p><object width="700" height="425"><param name="movie" value="https://www.youtube.com/v/QW4Rr_3bVBU?version=3&amp;showinfo=0&amp;theme=light&amp;fs=1&amp;rel=0&amp;iv_load_policy=3&amp;modestbranding=1"></param><param name="allowScriptAccess" value="always"></param><param name="allowFullScreen" value="true"></param><embed src="https://www.youtube.com/v/QW4Rr_3bVBU?version=3&amp;showinfo=0&amp;theme=light&amp;fs=1&amp;rel=0&amp;iv_load_policy=3&amp;modestbranding=1" type="application/x-shockwave-flash" allowScriptAccess="always" allowfullscreen="true" width="700" height="425"></embed></object></p>
<p>All server with CWP can have custom php.ini file set per user account or per folder.<br />
User can manually create php.ini file and add values which needs to be changed in it.</p>
<p><strong><br />
Location of the global server php.ini file is</strong><br />
/usr/local/php/php.ini</p>
<p><strong><br />
Location of the global per account php.ini file is</strong><br />
/home/USERNAME/php.ini</p>
<p><strong>You can also have per folder changes, example:</strong><br />
/home/USERNAME/public_html/website1.com/php.ini<br />
/home/USERNAME/public_html/website2.com/php.ini<br />
/home/USERNAME/public_html/website2.com/myapp/php.ini</p>
<p><strong>How to test php.ini changes?</strong><br />
Simple create phpinfo.php file in the users public_html folder and add the following content in it.</p>
<p>Example location: /home/USERNAME/public_html/phpinfo.php<br />
<code class="bbc_code">&lt;?php<br />
phpinfo();<br />
?&gt;</code><br />
Now open url in your browser (Apache restart is NOT needed):</p>
<p>http://your-domain.com/phpinfo.php</p>
<p>PHP.ini values</p>
<p>http://php.net/manual/en/ini.list.php</p>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/php-ini-per-folder/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
