<?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>The cPanel Admin &#187; apache</title>
	<atom:link href="http://www.thecpaneladmin.com/tag/apache/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.thecpaneladmin.com</link>
	<description>We know stuff about cPanel.</description>
	<lastBuildDate>Mon, 21 Nov 2011 19:50:55 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.2.1</generator>
		<item>
		<title>Wildcard SSL Installation Script</title>
		<link>http://www.thecpaneladmin.com/wildcard-ssl-installation-script/</link>
		<comments>http://www.thecpaneladmin.com/wildcard-ssl-installation-script/#comments</comments>
		<pubDate>Thu, 23 Dec 2010 19:13:22 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[ssl]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=697</guid>
		<description><![CDATA[Us administrators eventually come to the realization that when you have a wildcard SSL certificate for 40 subdomains, you can&#8217;t practically have separate IPs and cPanel accounts for all of them. If you have a wildcard SSL certificate for all your subdomains, you can easily install the certificate on a single IP address for all [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/installing-wildcard-ssl-certificate/' rel='bookmark' title='Installing A Wildcard SSL Certificate'>Installing A Wildcard SSL Certificate</a></li>
<li><a href='http://www.thecpaneladmin.com/setting-up-wildcard-dns-with-cpanel/' rel='bookmark' title='Setting Up Wildcard DNS with cPanel'>Setting Up Wildcard DNS with cPanel</a></li>
<li><a href='http://www.thecpaneladmin.com/installing-ssl-certificate-mysql/' rel='bookmark' title='Installing an SSL Certificate for MySQL'>Installing an SSL Certificate for MySQL</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Us administrators eventually come to the realization that when you have a wildcard SSL certificate for 40 subdomains, you can&#8217;t practically have separate IPs and cPanel accounts for all of them. If you have a wildcard SSL certificate for all your subdomains, you can easily install the certificate on a single IP address for all the subdomains. For this particular scenario to work:</p>
<ul>
<li>All subdomains must be on the same IP and cPanel account</li>
<li>You must have a wildcard SSL qualifying for *.tld.com</li>
</ul>
<p>Keep in mind that for a wildcard SSL to work, it really does have to be installed for each subdomain. You can&#8217;t install it once and have it automatically work in the fly like wildcard DNS does &#8211; Apache just doesn&#8217;t work that way.  Luckily, we&#8217;ve scripted an easy solution for you.</p>
<p><strong>Create the following files:</strong></p>
<ul>
<li>/etc/ssl/certs/tld.crt</li>
</ul>
<p>This file will contain the actual certificate, and should be named off of your top-level domain. For example, if the certificate is for *.mydomain.com, name the file <em>mydomain.com.crt</em></p>
<ul>
<li>/etc/ssl/certs/tld.cabundle</li>
</ul>
<p>This file will be the CA bundle for your wildcard certificate, if you have one.  If the certificate is for *.mydomain.com, name the file <em>mydomain.com.cabundle</em></p>
<p>Now download the install script from <a href="http://thecpaneladmin.com/files/wildcardssl.sh" target="_blank">here</a>.</p>
<p>This is basically just a bash script that you can use to install a wildcard SSL for a domain. Running it will install the certificate on all subdomains of the domain passed to the script:</p>
<blockquote><p>chmod 755 wildcardssl.sh</p>
<p>./wildcardssl.sh $domain</p></blockquote>
<p>After it runs, all you need to do is restart Apache. Please make a copy of /var/cpanel/userdata before running the script for the first time, until you&#8217;ve verified that it works on your setup.  Please note that this script would need to be run again if more subdomains are added later on.</p>
<p><map name='google_ad_map_697_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/697?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_697_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=697&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Fwildcard-ssl-installation-script%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=697&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/installing-wildcard-ssl-certificate/' rel='bookmark' title='Installing A Wildcard SSL Certificate'>Installing A Wildcard SSL Certificate</a></li>
<li><a href='http://www.thecpaneladmin.com/setting-up-wildcard-dns-with-cpanel/' rel='bookmark' title='Setting Up Wildcard DNS with cPanel'>Setting Up Wildcard DNS with cPanel</a></li>
<li><a href='http://www.thecpaneladmin.com/installing-ssl-certificate-mysql/' rel='bookmark' title='Installing an SSL Certificate for MySQL'>Installing an SSL Certificate for MySQL</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/wildcard-ssl-installation-script/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
		<item>
		<title>Automating Apache and PHP Updates</title>
		<link>http://www.thecpaneladmin.com/automating-apache-php-updates/</link>
		<comments>http://www.thecpaneladmin.com/automating-apache-php-updates/#comments</comments>
		<pubDate>Wed, 19 May 2010 14:58:58 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[automation]]></category>
		<category><![CDATA[easyapache]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=416</guid>
		<description><![CDATA[A lot of hosts that deploy a large number of servers are automating updates instead of running them manually. While cPanel updates can be automated as well, it&#8217;s become a common question of how to automate Apache and PHP updates across a large number of servers without having to manually run EasyApache on each server, [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/cpanel-installing-mod_python-apache-2/' rel='bookmark' title='cPanel: Installing Mod_Python on Apache 2'>cPanel: Installing Mod_Python on Apache 2</a></li>
<li><a href='http://www.thecpaneladmin.com/configuring-pureftp/' rel='bookmark' title='Command Line PureFTP Configuration on cPanel'>Command Line PureFTP Configuration on cPanel</a></li>
<li><a href='http://www.thecpaneladmin.com/cpanel-updates-redhat-9-break-stuff/' rel='bookmark' title='cPanel Updates on Redhat 9 Can Break Stuff'>cPanel Updates on Redhat 9 Can Break Stuff</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>A lot of hosts that deploy a large number of servers are automating updates instead of running them manually. While cPanel updates can be automated as well, it&#8217;s become a common question of how to automate Apache and PHP updates across a large number of servers without having to manually run EasyApache on each server, which can be a very time-consuming process. If Apache and PHP were built via RPM, you could simply run a yum update. However, since they are built with EasyApache it&#8217;s not quite as simple as updating an RPM, but it&#8217;s still very easy to automate.</p>
<p>A few things I want to mention before you consider automating Apache and PHP updates:</p>
<ul>
<li>You shouldn&#8217;t do this unless you have cPanel updates running automatically as well, for stable and release builds only. This reduces the chance of something going wrong and leaving you with broken builds across a ton of servers</li>
<li>Always test your build first on one server before deploying</li>
</ul>
<p><strong>Scenario:<br />
</strong></p>
<p><em>You have a large number of servers that are set up almost identically, and you want to schedule monthly updates to make sure PHP and Apache are always up to date, but still similar to provide consistency.</em></p>
<p>The easiest way to set this up is as follows:</p>
<p>1) Run EasyApache on one of the servers, configure your build as you wish, then save the profile. I would also recommend running the build to make sure that it works properly before you deploy it.</p>
<p>2) Go into <strong>/var/cpanel/easy/apache/profile</strong> and look for a file called <strong>_last_success.yaml</strong>. This will be the one you just saved, unless you updated a template that was already named, or you know for a fact that it&#8217;s named something else. Rename this template to something you would recognize, like latest.yaml. Edit the yaml file and change these fields:</p>
<blockquote><p>name: Shared server build<br />
note: &#8220;Default build for all shared servers&#8221;</p></blockquote>
<p>The name and note will identify the build in your EasyApache interface.</p>
<p>3) Move this script to the &#8216;custom&#8217; folder (<strong>/var/cpanel/easy/apache/profile/custom</strong>)</p>
<p>From here, what I recommend doing is uploading the build template to a repository so it can be easily &#8220;grabbed&#8221;. That way each time you update the build, you would update the template in the repository and automate the command that downloads it and builds Apache.  Since I named my yaml file latest.yaml, this is the command I&#8217;d run via cron on all my servers:</p>
<blockquote><p>wget -O /var/cpanel/easy/apache/custom/latest.yaml http://repo.mydomain.com/ea/latest.yaml &amp;&amp; /scripts/easyapache &#8211;profile=latest.yaml &#8211;build</p></blockquote>
<p>The following command builds the profile automtically:</p>
<blockquote><p>/scripts/easyapache &#8211;profile=latest.yaml &#8211;build</p></blockquote>
<p>The <strong>latest.yaml</strong> file is the file name of the template I&#8217;m using, and <strong>&#8211;build</strong> indicates that the build should be started immediately instead of loading the EA configuration screen.</p>
<p>Here are a couple other options you might want to pass to /scripts/easyapache:</p>
<ul>
<li>&#8211;do_not_revert_on_conf_failure : Use if you want to fix httpd.conf problems manually after the build. NOT recommended for automated EA updates</li>
<li>&#8211;skip-cpanel-version-check: Use if you don&#8217;t run automated cPanel updates and don&#8217;t want EasyApache to prompt for an update</li>
<li>&#8211;always_do_the_latest_phps : Always use the latest PHP version, keeping in mind that &#8220;latest version&#8221; refers to the latest version available in EA</li>
<li>&#8211;always_do_the_oldest_phps : Always use the oldest PHP version available in EA</li>
</ul>
<p>You may also want to consider using hooks to automate post-build tests, and report any issues that may arise. Hooks are events/commands that run before or after a specific action. You can read more about hooks below:</p>
<p><a href="http://etwiki.cpanel.net/twiki/bin/view/EasyApache3/EasyApacheHooks" target="_blank">http://etwiki.cpanel.net/twiki/bin/view/EasyApache3/EasyApacheHooks</a></p>
<p><map name='google_ad_map_416_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/416?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_416_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=416&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Fautomating-apache-php-updates%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=416&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/cpanel-installing-mod_python-apache-2/' rel='bookmark' title='cPanel: Installing Mod_Python on Apache 2'>cPanel: Installing Mod_Python on Apache 2</a></li>
<li><a href='http://www.thecpaneladmin.com/configuring-pureftp/' rel='bookmark' title='Command Line PureFTP Configuration on cPanel'>Command Line PureFTP Configuration on cPanel</a></li>
<li><a href='http://www.thecpaneladmin.com/cpanel-updates-redhat-9-break-stuff/' rel='bookmark' title='cPanel Updates on Redhat 9 Can Break Stuff'>cPanel Updates on Redhat 9 Can Break Stuff</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/automating-apache-php-updates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP 500 Internal Server Errors</title>
		<link>http://www.thecpaneladmin.com/php-500-internal-server-errors/</link>
		<comments>http://www.thecpaneladmin.com/php-500-internal-server-errors/#comments</comments>
		<pubDate>Mon, 17 May 2010 18:54:23 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[fixes]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[troubleshooting]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=426</guid>
		<description><![CDATA[500 Internal Server Errors are one of the most common PHP issues that I see customer experience, and it will occur mostly on servers with suPHP or PHP running as CGI.  These errors can be caused by something on the server, or an issue on the user&#8217;s site. Here &#8216;s what you should do if [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/quota-errors-in-exims-panic-log/' rel='bookmark' title='Quota Errors in Exim&#8217;s Panic Log'>Quota Errors in Exim&#8217;s Panic Log</a></li>
<li><a href='http://www.thecpaneladmin.com/executable-not-set-uid-root/' rel='bookmark' title='Executable not set-uid root'>Executable not set-uid root</a></li>
<li><a href='http://www.thecpaneladmin.com/resolving-domain-park-wrapper-errors/' rel='bookmark' title='Resolving Domain Park Wrapper Errors'>Resolving Domain Park Wrapper Errors</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>500 Internal Server Errors are one of the most common PHP issues that I see customer experience, and it will occur mostly on servers with suPHP or PHP running as CGI.  These errors can be caused by something on the server, or an issue on the user&#8217;s site. Here &#8216;s what you should do if you see errors:</p>
<p><strong>Check the logs</strong></p>
<p>You can solve most problems quickly just by looking at the logs:</p>
<blockquote><p>/usr/local/apache/logs/error_log</p></blockquote>
<blockquote><p>/usr/local/apache/logs/suphp.log</p></blockquote>
<p>Here are some common errors:</p>
<p><code>SoftException in Application.cpp:357: UID of script "/home/user/public_html/test.php" is smaller than min_uid</code></p>
<p><code>SoftException in Application.cpp:422: Mismatch between target UID (511) and UID (510) of file "/home/user/public_html/test.php"</code></p>
<p><code>SoftException in Application.cpp:264: File "/home/user/public_html/test.php" is writeable by others</code></p>
<p>These are all permission/ownership issues, indicating that the owner of the PHP file being called in incorrect, or the permissions are higher than what is allowed in suphp.conf.</p>
<p><strong>Invalid directions in .htaccess</strong></p>
<p>If you&#8217;re running PHP in CGI or suPHP mode, you can&#8217;t use php_flag or php_value directives in .htaccess &#8211; you either need to use htscanner to allow Apache to parse those commands, or make php-related changes in php.ini within the user&#8217;s account. You can check the Apache error log in /usr/local/apache/logs/error_log to see if you get something like this:</p>
<p><code>/home/user/public_html/.htaccess: Invalid command 'php_flag', perhaps misspelled or defined by a module not included in the server configuration</code></p>
<p>If the error log indicates a problem with .htaccess, you need to remove the directives indicated and make sure your ssyntax is correct, and that they are in the correct places.</p>
<p><strong>Incorrect ownership or permissions</strong></p>
<p>PHP scripts and their immediate parent folder will usually have permissions limits when PHP runs in CGI/suPHP mode. By default, PHP files and their parent folders can not have group or &#8216;other&#8217; writable permissions, and cannot be owned by a user on the system other than than the user that owns the home folder it is located in. Additionally, cPanel&#8217;s implementation of suPHP does not allow PHP to execute via browser from locations that are not inside a user&#8217;s home folder. The first thing you should check is that the PHP script and its parent folder(s) are not writable by &#8216;group&#8217; or &#8216;other&#8217;, or owned by a different system user. You can usually see if this is an issue by tailing the suphp log in /usr/local/apache/logs/suphp.log, or whatever the suphp.conf has set as the log location.</p>
<p>You can adjust suPHP&#8217;s permissions allowances in /opt/suphp/etc/suphp.conf to allow &#8216;group&#8217; and &#8216;other&#8217; writable permissions if it&#8217;s necessary by modifying these values:</p>
<p><code>allow_file_group_writeable=false<br />
allow_file_others_writeable=false<br />
allow_directory_group_writeable=false<br />
allow_directory_others_writeable=false</code></p>
<p>If the problem is with the min_uid value being too low (such as if you&#8217;re running a PHP script as root), you can also modify the &#8220;min_uid&#8221; and &#8220;min_gid&#8221; values to be more permissive. Changing anything in the suphp.conf requires a restart of Apache.</p>
<p><strong>SuPHP binary missing its &#8220;sticky&#8221; permissions</strong></p>
<p>Take a look at the suphp binary. It should look a bit like this, and in most shells, will be highlighted in red:</p>
<blockquote><p>-rw<strong>s</strong>r-xr-x 1 root root 341K Mar 30 12:25 /opt/suphp/sbin/suphp*</p></blockquote>
<p>If it&#8217;s missing the &#8216;s&#8217; in the permissions column, you need to re-add the sticky bit to allow users on the system to execute it properly:</p>
<blockquote><p>chmod +s /opt/suphp/sbin/suphp</p></blockquote>
<p><strong>Last resort</strong></p>
<p>If all else fails, you could be running a bum Apache build.  Try running EasyApache to reinstall to see if that fixes the problem.  You can also <a href="http://thecpaneladmin.com/consultation" target="_self">submit a support request</a> to us and we may be able to fix this for you:</p>
<p><map name='google_ad_map_426_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/426?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_426_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=426&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Fphp-500-internal-server-errors%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=426&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/quota-errors-in-exims-panic-log/' rel='bookmark' title='Quota Errors in Exim&#8217;s Panic Log'>Quota Errors in Exim&#8217;s Panic Log</a></li>
<li><a href='http://www.thecpaneladmin.com/executable-not-set-uid-root/' rel='bookmark' title='Executable not set-uid root'>Executable not set-uid root</a></li>
<li><a href='http://www.thecpaneladmin.com/resolving-domain-park-wrapper-errors/' rel='bookmark' title='Resolving Domain Park Wrapper Errors'>Resolving Domain Park Wrapper Errors</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/php-500-internal-server-errors/feed/</wfw:commentRss>
		<slash:comments>7</slash:comments>
		</item>
		<item>
		<title>Executable not set-uid root</title>
		<link>http://www.thecpaneladmin.com/executable-not-set-uid-root/</link>
		<comments>http://www.thecpaneladmin.com/executable-not-set-uid-root/#comments</comments>
		<pubDate>Mon, 03 May 2010 03:44:16 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[fixes]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=309</guid>
		<description><![CDATA[One of the servers here at work was giving a 500 Internal Server error whenever a PHP page was loaded. Among the various things that can cause this error when you&#8217;re running PHP in CGI mode (suPHP), this error showing up in the Apache log was most unusual. Turns out it&#8217;s due to the suphp [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/php-500-internal-server-errors/' rel='bookmark' title='PHP 500 Internal Server Errors'>PHP 500 Internal Server Errors</a></li>
<li><a href='http://www.thecpaneladmin.com/re-installing-auxiliary-cpanel-software/' rel='bookmark' title='Re-Installing Auxiliary cPanel Software'>Re-Installing Auxiliary cPanel Software</a></li>
<li><a href='http://www.thecpaneladmin.com/fix-account-permissions/' rel='bookmark' title='Simple Bash Script to Fix Account Permissions'>Simple Bash Script to Fix Account Permissions</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>One of the servers here at work was giving a 500 Internal Server error whenever a PHP page was loaded. Among the <a href="http://www.thecpaneladmin.com/php-500-internal-server-errors/" target="_self">various things</a> that can cause this error when you&#8217;re running PHP in CGI mode (suPHP), this error showing up in the Apache log was most unusual. Turns out it&#8217;s due to the suphp binary missing its sticky/suid permissions.</p>
<p><code>SecurityException in Application.cpp:188: Do not have root privileges. Executable not set-uid root?</code></p>
<p>To fix, simply <strong>chmod +s </strong>the suphp binary:</p>
<blockquote><p>chmod +s /opt/suphp/bin/suphp</p></blockquote>
<p><map name='google_ad_map_309_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/309?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_309_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=309&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Fexecutable-not-set-uid-root%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=309&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/php-500-internal-server-errors/' rel='bookmark' title='PHP 500 Internal Server Errors'>PHP 500 Internal Server Errors</a></li>
<li><a href='http://www.thecpaneladmin.com/re-installing-auxiliary-cpanel-software/' rel='bookmark' title='Re-Installing Auxiliary cPanel Software'>Re-Installing Auxiliary cPanel Software</a></li>
<li><a href='http://www.thecpaneladmin.com/fix-account-permissions/' rel='bookmark' title='Simple Bash Script to Fix Account Permissions'>Simple Bash Script to Fix Account Permissions</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/executable-not-set-uid-root/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Re-Installing Auxiliary cPanel Software</title>
		<link>http://www.thecpaneladmin.com/re-installing-auxiliary-cpanel-software/</link>
		<comments>http://www.thecpaneladmin.com/re-installing-auxiliary-cpanel-software/#comments</comments>
		<pubDate>Thu, 01 Apr 2010 15:52:56 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[fixes]]></category>
		<category><![CDATA[mysql]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[scripts]]></category>
		<category><![CDATA[tricks]]></category>
		<category><![CDATA[webmail]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=278</guid>
		<description><![CDATA[Cpanel has a lot of supporting software that you may be using on your server. In case something goes amiss, here is a list of scripts that reinstall cpanel-provided software on your system. For most all of these, you can pass a &#8211;force as an argument to force a reinstall of the application. cPanel /scripts/upcp [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/reinstalling-webmail-cpanel/' rel='bookmark' title='Reinstalling Webmail'>Reinstalling Webmail</a></li>
<li><a href='http://www.thecpaneladmin.com/installing-and-configuring-dovecot/' rel='bookmark' title='Installing and Configuring Dovecot'>Installing and Configuring Dovecot</a></li>
<li><a href='http://www.thecpaneladmin.com/cpanel-updates-redhat-9-break-stuff/' rel='bookmark' title='cPanel Updates on Redhat 9 Can Break Stuff'>cPanel Updates on Redhat 9 Can Break Stuff</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Cpanel has a lot of supporting software that you may be using on your server. In case something goes amiss, here is a list of scripts that reinstall cpanel-provided software on your system. For most all of these, you can pass a <strong>&#8211;force </strong>as an argument to force a reinstall of the application.</p>
<p><strong>cPanel</strong><br />
/scripts/upcp</p>
<p><strong>MySQL</strong><br />
/scripts/mysqlup</p>
<p><strong>PostgreSQL</strong><br />
/scripts/installpostgres</p>
<p><strong>Roundcube</strong><br />
/usr/local/cpanel/bin/update-roundcube</p>
<p><strong>Horde</strong><br />
/usr/local/cpanel/bin/update-horde</p>
<p><strong>Squirrelmail</strong><br />
/usr/local/cpanel/bin/update-squirrelmail</p>
<p><strong>phpMyAdmin</strong><br />
/usr/local/cpanel/bin/updatephpmyadmin</p>
<p><strong>pureFTP</strong><br />
/scripts/ftpup &#8211;force (See: Installing and Configuring pure-FTP)</p>
<p><strong>Exim</strong><br />
/scripts/eximup</p>
<p><strong>Courier IMAP</strong><br />
/scripts/courierup &#8211;force (See: Installing/Configuring Courier IMAP)</p>
<p><strong>Dovecot</strong><br />
/scripts/dovecotup &#8211;force (See: Installing and Configuring Dovecot)</p>
<p><strong>cpAddons</strong><br />
/scripts/cpaddonsup</p>
<p><strong>NSD/BIND</strong><br />
/scripts/setupnameserver (NSD:/scripts/nsdup)</p>
<p><strong>Apache/PHP</strong><br />
/scripts/easyapache (See: EasyApache)</p>
<p><strong>suPHP</strong><br />
/scripts/suphpup</p>
<p><strong>cPanel Internal PHP</strong><br />
/scripts/makecpphp</p>
<p><strong>FrontPage Extensions</strong><br />
/scripts/fpupgrade</p>
<p><strong>Mailman</strong><br />
/scripts/reinstallmailman (will not remove list data)</p>
<p><strong>cpHulkd</strong><br />
/usr/local/cpanel/bin/hulkdsetup</p>
<p><strong>Ruby</strong><br />
/scripts/installruby</p>
<p><map name='google_ad_map_278_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/278?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_278_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=278&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Fre-installing-auxiliary-cpanel-software%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=278&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/reinstalling-webmail-cpanel/' rel='bookmark' title='Reinstalling Webmail'>Reinstalling Webmail</a></li>
<li><a href='http://www.thecpaneladmin.com/installing-and-configuring-dovecot/' rel='bookmark' title='Installing and Configuring Dovecot'>Installing and Configuring Dovecot</a></li>
<li><a href='http://www.thecpaneladmin.com/cpanel-updates-redhat-9-break-stuff/' rel='bookmark' title='cPanel Updates on Redhat 9 Can Break Stuff'>cPanel Updates on Redhat 9 Can Break Stuff</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/re-installing-auxiliary-cpanel-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>cPanel: Installing Mod_Python on Apache 2</title>
		<link>http://www.thecpaneladmin.com/cpanel-installing-mod_python-apache-2/</link>
		<comments>http://www.thecpaneladmin.com/cpanel-installing-mod_python-apache-2/#comments</comments>
		<pubDate>Thu, 31 Dec 2009 13:23:17 +0000</pubDate>
		<dc:creator>Vanessa</dc:creator>
				<category><![CDATA[Misc]]></category>
		<category><![CDATA[apache]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[third party]]></category>

		<guid isPermaLink="false">http://www.thecpaneladmin.com/?p=66</guid>
		<description><![CDATA[Mod_python is one of the trickier things to install on cPanel servers. Below are the two methods I&#8217;ve used to get mod_python up and running on Apache 2. yum -y install subversion (IF it&#8217;s not already installed) svn co https://svn.apache.org/repos/asf/quetzalcoatl/mod_python/trunk mod_python cd mod_python ./configure &#8211;with-apxs=/usr/local/apache/bin/apxs make &#038;&#038; make install Then add to httpd.conf in the [...]


Related posts:<ol><li><a href='http://www.thecpaneladmin.com/automating-apache-php-updates/' rel='bookmark' title='Automating Apache and PHP Updates'>Automating Apache and PHP Updates</a></li>
<li><a href='http://www.thecpaneladmin.com/installing-perl-modules/' rel='bookmark' title='Installing Perl Modules'>Installing Perl Modules</a></li>
<li><a href='http://www.thecpaneladmin.com/re-installing-auxiliary-cpanel-software/' rel='bookmark' title='Re-Installing Auxiliary cPanel Software'>Re-Installing Auxiliary cPanel Software</a></li>
</ol>]]></description>
			<content:encoded><![CDATA[<p>Mod_python is one of the trickier things to install on cPanel servers. Below are the two methods I&#8217;ve used to get mod_python up and running on Apache 2.</p>
<blockquote><p>yum -y install subversion (IF it&#8217;s not already installed)<br />
svn co https://svn.apache.org/repos/asf/quetzalcoatl/mod_python/trunk mod_python<br />
cd mod_python<br />
./configure &#8211;with-apxs=/usr/local/apache/bin/apxs<br />
make &#038;&#038; make install</p></blockquote>
<p>Then add to httpd.conf in the top section where the other modules are loaded:</p>
<p><code>LoadModule python_module modules/mod_python.so</code></p>
<p>And run the distiller to save the change in the configuration:</p>
<blockquote><p>/usr/local/cpanel/bin/apache_conf_distiller &#8211;update</p></blockquote>
<p><strong>Using cPanel&#8217;s custom mod:</strong></p>
<p>At the time this article was written, this method only worked with Apache 2.0 (not Apache 2.2). It will add a mod_python option to EasyApache so you can enable during the build. Follow the below instructions and then run EasyApache to select mod_python.</p>
<blockquote><p>cd /var/cpanel/easy/apache/custom_opt_mods<br />
wget <a title="http://www.cpanel.net/apps/easyapache/optmods/custom_opt_mod-mod_python.tar.gz" rel="nofollow" href="http://www.cpanel.net/apps/easyapache/optmods/custom_opt_mod-mod_python.tar.gz">http://www.cpanel.net/apps/easyapache/optmods/custom_opt_mod-mod_python.tar.gz</a><br />
tar -C /var/cpanel/easy/apache/custom_opt_mods -xzf custom_opt_mod-mod_python.tar.gz<br />
rm custom_opt_mod-mod_python.tar.gz</p></blockquote>
<p><map name='google_ad_map_66_78e79355861d63ba'>
<area shape='rect' href='http://imageads.googleadservices.com/pagead/imgclick/66?pos=0' coords='1,2,367,28' />
<area shape='rect' href='http://services.google.com/feedback/abg' coords='384,10,453,23'/></map>
<img usemap='#google_ad_map_66_78e79355861d63ba' border='0' src='http://imageads.googleadservices.com/pagead/ads?format=468x30_aff_img&amp;client=&amp;channel=&amp;output=png&amp;cuid=66&amp;url= http%3A%2F%2Fwww.thecpaneladmin.com%2Fcpanel-installing-mod_python-apache-2%2F' /></p><img src="http://www.thecpaneladmin.com/?ak_action=api_record_view&id=66&type=feed" alt="" />

<p>Related posts:<ol><li><a href='http://www.thecpaneladmin.com/automating-apache-php-updates/' rel='bookmark' title='Automating Apache and PHP Updates'>Automating Apache and PHP Updates</a></li>
<li><a href='http://www.thecpaneladmin.com/installing-perl-modules/' rel='bookmark' title='Installing Perl Modules'>Installing Perl Modules</a></li>
<li><a href='http://www.thecpaneladmin.com/re-installing-auxiliary-cpanel-software/' rel='bookmark' title='Re-Installing Auxiliary cPanel Software'>Re-Installing Auxiliary cPanel Software</a></li>
</ol></p>]]></content:encoded>
			<wfw:commentRss>http://www.thecpaneladmin.com/cpanel-installing-mod_python-apache-2/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

