<?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>PHPmotionWiz.com - PHPmotion Mods, News and more! &#187; phpmotion server setup</title>
	<atom:link href="http://www.phpmotionwiz.com/tag/phpmotion-server-setup/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phpmotionwiz.com</link>
	<description>All the latest news, info, tips, tricks and mods for PHPmotion</description>
	<lastBuildDate>Mon, 16 Aug 2010 17:58:32 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>How to Install phpSHIELD Loaders</title>
		<link>http://www.phpmotionwiz.com/how-to-install-phpshield-loaders/</link>
		<comments>http://www.phpmotionwiz.com/how-to-install-phpshield-loaders/#comments</comments>
		<pubDate>Mon, 13 Apr 2009 14:51:02 +0000</pubDate>
		<dc:creator>Shawn</dc:creator>
				<category><![CDATA[Tutorials and Guides]]></category>
		<category><![CDATA[how to install phpshield]]></category>
		<category><![CDATA[install phpshield]]></category>
		<category><![CDATA[phpmotion server setup]]></category>
		<category><![CDATA[phpmotion tips]]></category>
		<category><![CDATA[phpshield loaders]]></category>

		<guid isPermaLink="false">http://phpmotionwiz.com/?p=8</guid>
		<description><![CDATA[It seems one of the biggest problems people have with installing PHPmotion on their web server is the phpSHIELD requirement.  The PHPmotion forum gets so many posts on the subject in fact, that they opened a special phpSHIELD board just to accommodate all of the questions.
The vast majority of problems IMO is that people [...]]]></description>
			<content:encoded><![CDATA[<p>It seems one of the biggest problems people have with installing PHPmotion on their web server is the phpSHIELD requirement.  The <a href="http://phpmotion.com/forum" target="_blank">PHPmotion forum</a> gets so many posts on the subject in fact, that they opened a special <a href="http://phpmotion.com/forum/index.php/board,56.0.html" target="_blank">phpSHIELD board</a> just to accommodate all of the questions.</p>
<p>The vast majority of problems IMO is that people don&#8217;t understand how to install the PHP Shield loaders properly.   Either they can&#8217;t find the documentation on the <a href="http://phpshield.com" target="_blank">phpSHIELD website</a>, they don&#8217;t understand the documentation (which isn&#8217;t very beginner friendly), or they believe that they have to install the full version of phpSHIELD which costs $75.   However this just isn&#8217;t true.    The fact is&#8230;the phpSHIELD <em>loaders</em> are free, and all you need to install (as far as phpSHIELD goes), in order to run PHPmotion or any other script that utilizes phpSHIELD.</p>
<p><span id="more-8"></span>This tutorial will give you step by step instructions on how to install phpSHIELD loaders on a Linux server.    Please be sure to read all of the requirements before beginning tutorial.</p>
<!--more-->
<h2>Requirements</h2>
<ul>
<li>This tutorial covers installing phpSHIELD on a <strong>Linux server</strong>.   These instructions will do no good if you are using a Windows server.    I know that it can be done, however Windows servers are not supported by PHPmotion so there is no sense in me covering how to install on Windows.</li>
<li>You must have <strong>root</strong> access to your server.    This means you have a VPS, dedicated server, or are running a server in your home.    If you have shared hosting, you will not be able to install phpSHIELD, so there is no point reading any further if you are on a shared hosting plan.</li>
<li>In this tutorial, I will be installing phpSHIELD on a server running CentOS 5.2, although the tutorial should still be helpful for any Linux distro.</li>
<li>Although not vital, it would be helpful if you have at least a basic knowledge of Linux commands and how to use a Linux terminal and/or SSH client.</li>
</ul>
<div class="alert"><strong>IMPORTANT: </strong> If you are not comfortable using a terminal to edit, move, delete files etc&#8230; you should not attempt this.    I am not responsible for any damage you do to your server configuration.</div>
<h2>Installing phpShield Loaders</h2>
<ol>
<li>The first thing we need to do is check a couple of PHP settings.     The easiest way to do this is with a phpinfo file.     If you don&#8217;t know how to create a phpinfo file, you can <a href="http://phpmotionwiz.com/how-to-create-a-phpinfo-file/" title="How to Create a phpinfo File">find instructions here</a>.</li>
<li>Now that you have a php info file, upload it to your website&#8217;s <em>public_html</em> directory and view it in your browser by typing <strong>http://www.yoursite.com/phpinfo.php</strong> in your address bar.  You want to find/verify the following in your phpinfo.php file:
<ul>
<li style="list-style:disc;margin:0px 20px;">Your PHP version</li>
<li style="list-style:disc;margin:0px 20px;">Thread Safety is disabled</li>
<li style="list-style:disc;margin:0px 20px;"><strong>enable_dl</strong> is set to <em>on</em></li>
<li style="list-style:disc;margin:0px 20px;">The path to your <strong>extension_dir</strong></li>
<li style="list-style:disc;margin:0px 20px;">Path to your <strong>php.ini</strong> file</li>
</ul>
</li>
<li>Now connect to your webserver using your favorite SSH client and login as <strong>root.</strong></li>
 <script type="text/javascript"><!--
google_ad_client = "pub-8629480975977626";
/* PHPmotionWiz.com - InBlog Posts 468x60 */
google_ad_slot = "5034739810";
google_ad_width = 468;
google_ad_height = 60;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<li>Create a new working directory then change directories:
<div class="codesnip-container" ># mkdir ~/phpshield</p>
<p># cd ~/phpshield</p></div>
</li>
<li>Download the phpSHIELD loaders:
<div class="codesnip-container" ># wget http://phpshield.com/loaders/phpshield.loaders.linux.zip</div>
<p>or if you have a 64 bit OS (most people will have a 32 bit OS so you will most likely use the code above)</p>
<div class="codesnip-container" ># wget http://phpshield.com/loaders/phpshield.loaders.linux-64.zip</div>
</li>
<li>Extract the loaders:
<div class="codesnip-container" ># unzip phpshield.loaders.linux.zip</div>
</li>
<li>If you do a directory list:
<div class="codesnip-container" ># ls</div>
<p>you will see a bunch of files named <em>phpshield.4.3.lin to phpshield.5.2.lin</em>.   What we want to do here is find the phpshield file with the number that matches your PHP version.   You can find your PHP version at the very top of your phpinfo file from earlier.</li>
<li>Now we need to copy the appropriate phpshield loader file to your PHP extensions directory.
<div class="codesnip-container" ># cp ~/phpshield/phpshield.x.x.lin   /path/to/your/php/extensions/directory</div>
<p>Replace x.x above with your PHP version and use the path to your PHP extensions directory (you should have found this in step 2 above.)</li>
<li>Open your php.ini file
<div class="codesnip-container" ># nano /path/to/php/ini/php.ini</div>
<p> You should have found the path to your php.ini file in your phpinfo.php file from earlier.</li>
<li>Append the following to the Dynamic Extensions section of your php.ini file:
<div class="codesnip-container" ># extension=phpshield/phpshield.x.x.lin</div>
<p>Replace x.x with the number on the phpshield file you moved earlier.</li>
<li>Finally, restart httpd:
<div class="codesnip-container" ># /etc/rc.d/init.d/httpd restart</div>
</li>
</ol>
<p>That&#8217;s it!   You should have phpSHIELD installed correctly on your server now.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phpmotionwiz.com/how-to-install-phpshield-loaders/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
	</channel>
</rss>
