ITeye博客

Enable PHP on Mac

mlkimg · 2011-09-14 10:07 · Mac OS · 操作系统 · PHP · Mac OS · Markdown

1) Enable Apache on Mac OS;

2) Enable "LoadModule php5_module libxec/apache2/libphp5.so" in /private/etc/apache2/httpd.conf;

3) "sudo cp php.ini.default php.ini" in path "/private/etc", you can change the default settings of php in this file;

4) Restart apache on Mac with command "sudo apachectl restart" in terminal.

评论(0)

暂无评论。

评论功能维护中,当前仅展示历史评论。