<?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>Abby and Win's Blog &#187; shared host</title>
	<atom:link href="http://abbyandwin.net/blog/tag/shared-host/feed/" rel="self" type="application/rss+xml" />
	<link>http://abbyandwin.net/blog</link>
	<description>Our Blog 2 Share 4 All</description>
	<lastBuildDate>Fri, 03 Sep 2010 21:30:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>Installing PEAR on Godaddy shared accounts</title>
		<link>http://abbyandwin.net/blog/2008/06/16/installing-pear-on-godaddy-shared-accounts/</link>
		<comments>http://abbyandwin.net/blog/2008/06/16/installing-pear-on-godaddy-shared-accounts/#comments</comments>
		<pubDate>Mon, 16 Jun 2008 19:10:21 +0000</pubDate>
		<dc:creator>Sherwin</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Programming]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[godaddy]]></category>
		<category><![CDATA[how to]]></category>
		<category><![CDATA[install]]></category>
		<category><![CDATA[pear]]></category>
		<category><![CDATA[shared host]]></category>

		<guid isPermaLink="false">http://abbyandwin.net/blog/?p=258</guid>
		<description><![CDATA[I recently found out how to install PEAR on a Godaddy shared hosting account. Visit http://pear.php.net/go-pear. Save the text displayed onto your desktop and name it go-pear.php. Upload this to your server. If you&#8217;re hosting multiple domains on the account, it&#8217;s best that you should upload this file in your root folder. Run this file [...]]]></description>
			<content:encoded><![CDATA[<p>I recently found out how to install PEAR on a <a href="http://godaddy.com" target="_blank" onclick="pageTracker._trackPageview('/outgoing/godaddy.com?referer=');">Godaddy</a> shared hosting account.</p>
<ol>
<li>Visit <a href="http://pear.php.net/go-pear" target="_blank" onclick="pageTracker._trackPageview('/outgoing/pear.php.net/go-pear?referer=');">http://pear.php.net/go-pear</a>. Save the text displayed onto your desktop and name it go-pear.php. Upload this to your server. If you&#8217;re hosting multiple domains on the account, it&#8217;s best that you should upload this file in your root folder. Run this file on your browser and follow the on-screen instructions.</li>
<li>After completing the installation, it is time to edit your php.ini file. If you are running PHP4, there should be a file in the root directory called php.ini. If you are running PHP5, there should be a file in the root directory called php5.ini. If not, create one and add the following: <em>include_path = &#8220;.:/usr/local/php5/lib/php:/home/content/s/a/m/sample/html/PEAR&#8221;</em>. Keep in mind that /s/a/m/sample is just an example. Doing this will ensure that every page, you create, will look in the PEAR directory so that you it will use the installed packages.</li>
<li>This installation will include Pear_Frontend_Web which is the web-based admin interface. It may have created an index.php file in the directory where PEAR is installed (root). If not you can get a copy from PEAR/docs/PEAR_Frontend_Web/docs/index.php.txt. I would suggest creating a folder called pear_admin in the root directory and storing this file there. If you didn&#8217;t install PEAR in the root directory, you may need to edit this file accordingly. </li>
<li>You will need to create a .htaccess and .htpasswd file in the same directory as the index.php file. An example of how the .htaccess file should look as follows:<em><br />
AuthUserFile /home/content/s/a/m/sample/html/pear_admin/.htpasswd<br />
AuthType Basic<br />
AuthName &#8220;Web-based PEAR Frontend&#8221;<br />
Require valid-user<br />
</em></p>
<p>An example of how the .htpasswd file should look as follows:</p>
<p><em><br />
admin:cGyUX9QugYMgE<br />
</em></p>
<p>This will create &#8220;admin&#8221; as the user name and &#8220;password&#8221; as the password. You can generate your own by going to this link &#8211; <a href="http://www.htaccesstools.com/htpasswd-generator/" target="_blank" onclick="pageTracker._trackPageview('/outgoing/www.htaccesstools.com/htpasswd-generator/?referer=');">http://www.htaccesstools.com/htpasswd-generator/</a></p>
<p>Be aware that files beginning with a dot are invisible. You may have to edit your settings on the FTP app you&#8217;re using so that you can see them.</p>
</li>
</ol>
<p>Once the files are created and saved, you can now go to http://your-domain.com/pear_admin/index.php. It will ask for the user name and password. Once you are logged in, you can now manage Pear via web browser. That&#8217;s it! Now you can run PEAR on a shared account from Godaddy. One less complaint <img src='http://abbyandwin.net/blog/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p><a class="a2a_dd addtoany_share_save" href="http://www.addtoany.com/share_save" onclick="pageTracker._trackPageview('/outgoing/www.addtoany.com/share_save?referer=');"><img src="http://abbyandwin.net/blog/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share/Bookmark"/></a> </p>]]></content:encoded>
			<wfw:commentRss>http://abbyandwin.net/blog/2008/06/16/installing-pear-on-godaddy-shared-accounts/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
	</channel>
</rss>
