Saturday, June 25, 2011

First php on macbook

Step 1: Enable Apache
System Preferences -> Sharing -> Web Sharing

Step 2: Enable PHP
/private/etc/apache2/httpd.conf -> LoadModule php5_module libexec/apache2/

Step 3:  Config PHP
cd /private/etc
sudo cp php.ini.default php.ini

Step 4: Restart apache
sudo apachectl restart

Step 5: phpinfo
<?php phpinfo(); ?>

Step 6: hello world
  <title>PHP Test</title>
 <?php echo '<p>Hello World</p>'; ?>


  1. help desk software for education software is superb! It has extended productivity all through our complete team. Our customers prefer to use help now because we are capable of respond faster and with greater statistics.

  2. You may be presented using an actually fantastic and also informative web page but in a scenario see this here, it's not designed with other webpage pinks, the specific spiders will require that particular superb Recommended Site site to become a deceased-link 1 thus decreasing the probability of consumer satisfaction in electronic marketing and advertising

  3. I like Creme de la Femme! I had tried everything and given up hope till I found your miracle cream!

  4. It's believed that CBD may be effective within the treatment of each. whereas CBD Lozenges won't essentially cure these 2 mental state issues, it may be useful in up the symptoms in patients tormented by anxiety and depression.

  5. Hey enormous stuff or pleasant information you are offering here.
    Drug Addiction Georgia