<?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; suPHP</title>
	<atom:link href="https://wiki.centos-webpanel.com/tag/suphp/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>suPHP Detailed info</title>
		<link>https://wiki.centos-webpanel.com/suphp-detailed-info</link>
		<comments>https://wiki.centos-webpanel.com/suphp-detailed-info#comments</comments>
		<pubDate>Wed, 25 Jul 2018 10:48:50 +0000</pubDate>
		<dc:creator><![CDATA[publisher]]></dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[suPHP]]></category>

		<guid isPermaLink="false">http://wiki.centos-webpanel.com/?p=1000</guid>
		<description><![CDATA[suPHP Detailed info Configuration files: /usr/local/etc/suphp.conf (Detailed suPHP configuration) /usr/local/apache/conf.d/suphp.conf (suPHP configuration for Apache) There is also suphp configuration in the vhost files for each vhost. /usr/local/apache/conf.d/vhosts/DOMAIN.COM.conf /usr/local/apache/conf.d/vhosts/DOMAIN.COM.ssl.conf If you don't want to allow users to modify and use custom php.ini per folder you can do that by placing an empty php.ini file into users [&#8230;]]]></description>
				<content:encoded><![CDATA[<p><strong>suPHP Detailed info</strong></p>
<p>Configuration files:<br />
/usr/local/etc/suphp.conf (Detailed suPHP configuration)<br />
/usr/local/apache/conf.d/suphp.conf (suPHP configuration for Apache)</p>
<p>There is also suphp configuration in the vhost files for each vhost.<br />
/usr/local/apache/conf.d/vhosts/DOMAIN.COM.conf<br />
/usr/local/apache/conf.d/vhosts/DOMAIN.COM.ssl.conf</p>
<p>If you don't want to allow users to modify and use custom php.ini per folder you can do that by placing an empty php.ini file into users home folder. The empty file will use default server php.ini and will not allow users to load any custom changes and other php.ini files.</p>
<p>Example:
<pre>
touch /home/USERNAME/php.ini</pre>
<p>Now secure it so users can't change/disable it</p>
<pre>
chown root.root /home/USERNAME/php.ini
chmod 555 /home/USERNAME/php.ini</pre>
<p>Default php.ini<br />
/usr/local/php/php.ini</p>
<p>Note that each version of PHP in PHP selector has a different php.ini file.<br />
You can edit php.ini files for each version from the php selector in cwp.admin</p>
]]></content:encoded>
			<wfw:commentRss>https://wiki.centos-webpanel.com/suphp-detailed-info/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
