The default configuration of Apache on Mac OS X disables the use of per-directory configuration files (.htaccess). Enabling this feature requires a small number of changes in the the Apache configuration. sudo pico /etc/apache2/httpd.conf under the section: <Directory “/Library/WebServer/Documents”> change AllowOverride None to AllowOverride All If you are using the Sites folder in your home [...]
PHP 5 comes bundled with Mac OS X 10.5 Leopard, but it is not active in the default configuration of Apache (enable Apache through System Preferences » Sharing » Web Sharing). Enabling this module requires editing the Apache httpd.conf configuration file: sudo pico /etc/apache2/httpd.conf uncommenting the php5_module line: LoadModule php5_module libexec/apache2/libphp5.so and restarting your Apache [...]





