<?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>J.P. McGarrity.com &#187; php5</title>
	<atom:link href="http://jpmcgarrity.com/blog/tag/php5/feed/" rel="self" type="application/rss+xml" />
	<link>http://jpmcgarrity.com/blog</link>
	<description>Focusing on the Front End</description>
	<lastBuildDate>Sat, 30 Apr 2011 16:40:56 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.4</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Work with PHP5 locally on your Mac</title>
		<link>http://jpmcgarrity.com/blog/2009/08/work-with-php5-locally-on-your-mac/</link>
		<comments>http://jpmcgarrity.com/blog/2009/08/work-with-php5-locally-on-your-mac/#comments</comments>
		<pubDate>Wed, 12 Aug 2009 16:32:59 +0000</pubDate>
		<dc:creator>J.P.</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[osx]]></category>
		<category><![CDATA[php5]]></category>

		<guid isPermaLink="false">http://jpmcgarrity.com/blog/?p=465</guid>
		<description><![CDATA[
Here are few quick steps to turn on PHP5 on your mac. This an easy modification allowing you to work with in your WebServer folder.
Note: To use this method 10.5+ is required.

With your favorite text editor (I recommend Textmate) open Macintosh HD/private/etc/apache2/httpd.conf. You must allow hidden files to be seem to view and open.
Once the [...]]]></description>
			<content:encoded><![CDATA[<p><img class="aligncenter size-full wp-image-469" title="phpimage" src="http://jpmcgarrity.com/blog/wp-content/uploads/2009/08/phpimage2.jpg" alt="phpimage" width="630" height="502" /></p>
<p>Here are few quick steps to turn on PHP5 on your mac. This an easy modification allowing you to work with in your WebServer folder.</p>
<p><strong>Note:</strong> To use this method 10.5+ is required.</p>
<ul>
<li>With your favorite text editor (I recommend Textmate) open Macintosh HD/private/etc/apache2/httpd.conf. You must allow hidden files to be seem to view and open.</li>
<li>Once the httpd.conf file has been opened go to line #114 and edit the following <code>#LoadModule php5_module      libexec/apache2/libphp5.so</code> remove the &#8220;#&#8221; sign and save the file. You will be prompted to enter root password.</li>
<li>With Terminal open, type the following series of commands, each followed by Return:<br />
<code>cd /private/etc<br />
sudo cp php.ini.default php.ini</code></li>
<li>Now open the file with your text editor.</li>
<li>Go to line #305 and change &#8220;error_reporting = E_ALL &amp; ~E_NOTICE&#8221; to error_reporting = &#8220;E_ALL&#8221; and save the file and enter your root password.</li>
<li>Open your System Preferences click on Sharing and then turn on Web sharing.</li>
</ul>
<p>After the above steps have been completed PHP5 will be working with in your WebServer folder located in  &#8220;Macintosh HD/Library/WebServer/Documents&#8221;.</p>
<p>To confirm everything has been configured correct create a php file with the following:</p>
<ul>
<li>
&lt;?php phpinfo(); ?&gt;
</li>
<li>
Save the file with the documents folder as info.php.
</li>
<li>
In a browser window go to: http://localhost/info.php and you will see your php settings.
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://jpmcgarrity.com/blog/2009/08/work-with-php5-locally-on-your-mac/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

