<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	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/"
		>
<channel>
	<title>Comments on: Setting up PHP on Mac OSX 10.6 (Snow Leopard)</title>
	<atom:link href="http://www.simonwhatley.co.uk/setting-up-php-on-mac-osx-10-6-snow-leopard/feed" rel="self" type="application/rss+xml" />
	<link>http://www.simonwhatley.co.uk/setting-up-php-on-mac-osx-10-6-snow-leopard</link>
	<description>The opposite of every great idea is another great idea</description>
	<lastBuildDate>Tue, 24 Jan 2012 10:54:00 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Yenrak</title>
		<link>http://www.simonwhatley.co.uk/setting-up-php-on-mac-osx-10-6-snow-leopard/comment-page-1#comment-604</link>
		<dc:creator>Yenrak</dc:creator>
		<pubDate>Fri, 03 Sep 2010 19:27:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonwhatley.co.uk/?p=2197#comment-604</guid>
		<description>So, why did you not put any directories in this article?&lt;br&gt;&lt;br&gt;It appears Apple has 3 places where its Apache will look for an index.&lt;br&gt;&lt;br&gt;~/Sites&lt;br&gt;/Library/WebServer/Documents&lt;br&gt;&lt;br&gt;and a third I can&#039;t determine. &lt;br&gt;&lt;br&gt;Each one is used based on whether or not you have internet connectivity.&lt;br&gt;&lt;br&gt;I feel I should mention to anyone who comes here looking to configure PHP on Snow Leopards Apache that the file you need to modify to enable PHP is called the httpd.conf file. This is located in the following directory&lt;br&gt;&lt;br&gt;/etc/apache2/httpd.conf&lt;br&gt;&lt;br&gt;Secondly, it should be mentioned that if anyone plans on doing anything with times then the timezone needs to be set in the /etc/php.ini file&lt;br&gt;&lt;br&gt;open /etc/php.ini&lt;br&gt;&lt;br&gt;search for &#039;date.timezone&#039;. You should see this section of code&lt;br&gt;&lt;br&gt;[Date]&lt;br&gt;; Defines the default timezone used by the date functions&lt;br&gt;; &lt;a href=&quot;http://php.net/date.timezone&quot; rel=&quot;nofollow&quot;&gt;http://php.net/date.timezone&lt;/a&gt;&lt;br&gt;; date.timezone =&lt;br&gt;&lt;br&gt;delete the &#039;;&#039; from the beginning of the line &#039;date.timezone&#039; and then choose your timezone from one of the following listed here: &lt;a href=&quot;http://php.net/manual/en/timezones.php&quot; rel=&quot;nofollow&quot;&gt;http://php.net/manual/en/timez...&lt;/a&gt;&lt;br&gt;&lt;br&gt;Since, I&#039;m in the central timezone, I would choose America/Chicago. So my date section would be:&lt;br&gt;&lt;br&gt;[Date]&lt;br&gt;; Defines the default timezone used by the date functions&lt;br&gt;; &lt;a href=&quot;http://php.net/date.timezone&quot; rel=&quot;nofollow&quot;&gt;http://php.net/date.timezone&lt;/a&gt;&lt;br&gt;; date.timezone = &quot;America/Chicago&quot;&lt;br&gt;&lt;br&gt;Then restart Apache with sudo apachectl restart</description>
		<content:encoded><![CDATA[<p>So, why did you not put any directories in this article?</p>
<p>It appears Apple has 3 places where its Apache will look for an index.</p>
<p>~/Sites<br />/Library/WebServer/Documents</p>
<p>and a third I can&#39;t determine. </p>
<p>Each one is used based on whether or not you have internet connectivity.</p>
<p>I feel I should mention to anyone who comes here looking to configure PHP on Snow Leopards Apache that the file you need to modify to enable PHP is called the httpd.conf file. This is located in the following directory</p>
<p>/etc/apache2/httpd.conf</p>
<p>Secondly, it should be mentioned that if anyone plans on doing anything with times then the timezone needs to be set in the /etc/php.ini file</p>
<p>open /etc/php.ini</p>
<p>search for &#39;date.timezone&#39;. You should see this section of code</p>
<p>[Date]<br />; Defines the default timezone used by the date functions<br />; <a href="http://php.net/date.timezone" rel="nofollow">http://php.net/date.timezone</a><br />; date.timezone =</p>
<p>delete the &#39;;&#39; from the beginning of the line &#39;date.timezone&#39; and then choose your timezone from one of the following listed here: <a href="http://php.net/manual/en/timezones.php" rel="nofollow">http://php.net/manual/en/timez&#8230;</a></p>
<p>Since, I&#39;m in the central timezone, I would choose America/Chicago. So my date section would be:</p>
<p>[Date]<br />; Defines the default timezone used by the date functions<br />; <a href="http://php.net/date.timezone" rel="nofollow">http://php.net/date.timezone</a><br />; date.timezone = &#8220;America/Chicago&#8221;</p>
<p>Then restart Apache with sudo apachectl restart</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yenrak</title>
		<link>http://www.simonwhatley.co.uk/setting-up-php-on-mac-osx-10-6-snow-leopard/comment-page-1#comment-568</link>
		<dc:creator>Yenrak</dc:creator>
		<pubDate>Fri, 03 Sep 2010 14:27:00 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonwhatley.co.uk/?p=2197#comment-568</guid>
		<description>So, why did you not put any directories in this article?

It appears Apple has 3 places where its Apache will look for an index.

~/Sites
/Library/WebServer/Documents

and a third I can&#039;t determine. 

Each one is used based on whether or not you have internet connectivity.

I feel I should mention to anyone who comes here looking to configure PHP on Snow Leopards Apache that the file you need to modify to enable PHP is called the httpd.conf file. This is located in the following directory

/etc/apache2/httpd.conf

Secondly, it should be mentioned that if anyone plans on doing anything with times then the timezone needs to be set in the /etc/php.ini file

open /etc/php.ini

search for &#039;date.timezone&#039;. You should see this section of code

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
; date.timezone =

delete the &#039;;&#039; from the beginning of the line &#039;date.timezone&#039; and then choose your timezone from one of the following listed here: http://php.net/manual/en/timezones.php

Since, I&#039;m in the central timezone, I would choose America/Chicago. So my date section would be:

[Date]
; Defines the default timezone used by the date functions
; http://php.net/date.timezone
; date.timezone = &quot;America/Chicago&quot;

Then restart Apache with sudo apachectl restart</description>
		<content:encoded><![CDATA[<p>So, why did you not put any directories in this article?</p>
<p>It appears Apple has 3 places where its Apache will look for an index.</p>
<p>~/Sites<br />
/Library/WebServer/Documents</p>
<p>and a third I can&#8217;t determine. </p>
<p>Each one is used based on whether or not you have internet connectivity.</p>
<p>I feel I should mention to anyone who comes here looking to configure PHP on Snow Leopards Apache that the file you need to modify to enable PHP is called the httpd.conf file. This is located in the following directory</p>
<p>/etc/apache2/httpd.conf</p>
<p>Secondly, it should be mentioned that if anyone plans on doing anything with times then the timezone needs to be set in the /etc/php.ini file</p>
<p>open /etc/php.ini</p>
<p>search for &#8216;date.timezone&#8217;. You should see this section of code</p>
<p>[Date]<br />
; Defines the default timezone used by the date functions<br />
; <a href="http://php.net/date.timezone" rel="nofollow">http://php.net/date.timezone</a><br />
; date.timezone =</p>
<p>delete the &#8216;;&#8217; from the beginning of the line &#8216;date.timezone&#8217; and then choose your timezone from one of the following listed here: <a href="http://php.net/manual/en/timezones.php" rel="nofollow">http://php.net/manual/en/timezones.php</a></p>
<p>Since, I&#8217;m in the central timezone, I would choose America/Chicago. So my date section would be:</p>
<p>[Date]<br />
; Defines the default timezone used by the date functions<br />
; <a href="http://php.net/date.timezone" rel="nofollow">http://php.net/date.timezone</a><br />
; date.timezone = &#8220;America/Chicago&#8221;</p>
<p>Then restart Apache with sudo apachectl restart</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: enzodad</title>
		<link>http://www.simonwhatley.co.uk/setting-up-php-on-mac-osx-10-6-snow-leopard/comment-page-1#comment-506</link>
		<dc:creator>enzodad</dc:creator>
		<pubDate>Sat, 15 May 2010 22:50:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonwhatley.co.uk/?p=2197#comment-506</guid>
		<description>Um nothing you said did anything, i mean when i nav to that page all i get is the &lt;?php phpinfo crap no information at all just text.&lt;br&gt;i did all the commands you said and nothing,,,,,,why cant i get it to display PHP information.. PHP is saposed to be really easy to get up and running yet i cant get it to work s i can learn it,</description>
		<content:encoded><![CDATA[<p>Um nothing you said did anything, i mean when i nav to that page all i get is the &lt;?php phpinfo crap no information at all just text.<br />i did all the commands you said and nothing,,,,,,why cant i get it to display PHP information.. PHP is saposed to be really easy to get up and running yet i cant get it to work s i can learn it,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JayBee</title>
		<link>http://www.simonwhatley.co.uk/setting-up-php-on-mac-osx-10-6-snow-leopard/comment-page-1#comment-501</link>
		<dc:creator>JayBee</dc:creator>
		<pubDate>Mon, 03 May 2010 19:40:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.simonwhatley.co.uk/?p=2197#comment-501</guid>
		<description>Hi,&lt;br&gt;thanks for this excellent step by step guide.&lt;br&gt;I would add that the new location of the apache config file is under /etc/apache2/httpd.conf&lt;br&gt;(I was looking for the old /etc/httpd.conf at first)</description>
		<content:encoded><![CDATA[<p>Hi,<br />thanks for this excellent step by step guide.<br />I would add that the new location of the apache config file is under /etc/apache2/httpd.conf<br />(I was looking for the old /etc/httpd.conf at first)</p>
]]></content:encoded>
	</item>
</channel>
</rss>

