cd $TMPDIR
TMPDIR as defined in OSX is only accessible by yourself which reduces the risk of somebody else accessing your temp files created by programs using mktemp() to create temporary files.
...
/tmp is cleared out regularly on OSX (see /etc/defaults/periodic.conf), /var/tmp very rarely (if at all).
from http://apple.stackexchange.com/questions/22694/private-tmp-vs-private-var-tmp-vs-tmpdir
2015년 3월 20일 금요일
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
피드 구독하기:
글 (Atom)