Installing Drupal using XAMPP in iMac

I was trying to install Drupal in the iMac, using XAMPP. So I downloaded XAMPP for Mac OS X and installed it. Then I put my Drupal into the /Applications/xampp/xamppfiles/htdocs directory.But what I got in the browser (http://localhost/drupal) were some errors like internal server error, forbidden access and exhausted memory.To fix them, I did as follows:

  • Altered  the “etc/httpd.conf”  so that under the document root directory, the “AllowOverride” is set to “All”:
    Options Indexes FollowSymlinks ExecCGI Includes
    AllowOverride All
    Order allow, deny
    Allow from all
  • Make .htaccess readable, by chmod a+r .htaccess
  • In “etc/php.ini”, set memory_limit variable value to 64M (the default was 8M)

Restart the Apache and done, until further problem 🙂