2015년 2월 17일 화요일

Mavericks 에서 PHP 활성화


아래처럼 하면 끝~


Mavericks comes with PHP 5.4.17, so now we need to turn it on:
sudo nano /etc/apache2/httpd.conf
Use ctrl+w to search within nano and search for “php”. Uncomment the first line you find (remove the #):
LoadModule php5_module libexec/apache2/libphp5.so
Press ctrl+o and then ctrl+x to save and exit. Restart Apache for the change to kick in:
sudo apachectl restart

댓글 없음:

댓글 쓰기