title: my "phpinfo.php" file loads a completely blank page in both firefox and safari
body: <p><strong>Background</strong>: I want to learn PHP and in the tutorial that I'm doing, one of the first things it has you do after getting PHP and mySQL going is to to test it by making a phpinfo.php file and opening it.</p>
  
  <p><strong>Problem</strong>: In FireFox, the file loads a blank page. In Safari it only shows the code that I wrote:     <code>&lt;?php phpinfo(); ?&gt;</code>.</p>
  
  <p><strong>Steps so far</strong> (not necessarily in order):
   I followed the steps at <a href="http://coolestguidesontheplanet.com/how-to-install-php-mysql-apache-on-os-x-10-6/" rel="nofollow">http://coolestguidesontheplanet.com/how-to-install-php-mysql-apache-on-os-x-10-6/</a><br>
  I have made a phpinfo.php file using text editor in plain text mode (as opposed to rich text) and saved that in my "sites" folder. This is the only line in that file:<br>
      <code>&lt;?php phpinfo(); ?&gt;</code><br>
  In system preferences, I have web sharing turned on and mySQL server running. I have removed the # from in front of the load php 5 module line in the httpd.conf file as per the tutorial I mentioned. I've tried restarting the web server using "sudo apachectl restart" and then restarting Firefox.</p>
  
  <p>I looked for a php.ini file in my etc folder. There wasn't one but I did find a php.ini.default. I duplicated that file and renamed the duplicate to php.ini. I'm not sure this step was a correct step to take but from the little I could find on the internet it looks like somebody else has done this and I thought, why not?. (phpinfo.php loaded a blank page before and after this step)</p>
  
  <p>I typed    <code>php -i | grep php.ini</code> into terminal and got the following:<br>
  <code>Configuration File (php.ini) Path =&gt; /etc</code><br>
  <code>Loaded Configuration File =&gt; /private/etc/php.ini</code><br>
  and a timezone warning</p>
  
  <p>So I decided to look for a php.ini in the /private/etc folder and there is one there. ( The one I created was in the /etc folder not the /private/etc folder.)</p>
  
  <p>I have searched the internet including this website for answers.</p>
  
  <p><strong>System info</strong>:<br>
  When typing <code>php -v</code> into terminal it tells me that I am using PHP 5.3.28
  When typing <code>mysql -v</code> into terminal it tells me that I am using mySQL 5.6.10
  I am running Mac OS 10.7.5 on a Macbook Pro.<br>
  FireFox version: 40.0.3<br>
  Safari version: 6.1.6  </p>
  
  <p><strong>Questions</strong>:<br>
  1) Did I correctly create the php.ini file?<br>
  2) What am I missing? Why is the phpinfo file not loading in my browser?<br>
  3) Is the timezone warning important?</p>