I didn't want to build a development environment on my Mac, but I was searching for a PHP installation. Find a Mac installation just look at the hemp no trouble. Then you find your own php5, and you bring your own Apache, and you have a virtual machine for the slot.
The installation method and the official website are still discrepancies. I generally looked at the configuration, no blind modification.
sudo vim/private/etc/apache2/httpd.conf
Remove the LoadModule php5_module libexec/apache2/libphp5.so annotation. Another, not found.
Include/private/etc/apache2/other/*.conf This inside there is a PHP5 conf, will also insert the bottom, so do not add.
The root directory of the project is/library/webserver/documents.
Insert one , succeed.
Restart Apache, sudo apachectl restart
Rewrite_module Module Open
LoadModule Rewrite_module libexec/apache2/mod_rewrite.so
Previous: Elasticsearch installation of Chinese sub-phrase pieces Elasticsearch-analysis-ik