레이블이 Apache2인 게시물을 표시합니다. 모든 게시물 표시
레이블이 Apache2인 게시물을 표시합니다. 모든 게시물 표시

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