기술참고자료/Linux | 2011. 5. 9. 10:42
“Open a terminal, type in “ls -al /etc/php.ini*”
If a php.ini does not exist copy over the default php.ini, “sudo cp /etc/php.ini.default /etc/php.ini”
Now edit the php.ini, “sudo nano /etc/php.ini” (or use your prefered editor)
Find “mysql.default_socket” (you can search using [Ctrl]+[w] in nano)
Enter “/tmp/mysql.sock” after the equals sign.
Don’t forget to save the file ([Ctrl]+[o] [Enter] in nano)
Now restart Apache, “sudo apachectl graceful”
출처 : http://www.hunskorea.com/wordpress/?p=61
[리눅스] ip 중복 문제 (0) | 2011.05.11 |
---|---|
[리눅스] netstat 명령으로 포트확인하기 (0) | 2011.05.10 |
[리눅스] php 설치시의 configure 옵션 (0) | 2011.05.03 |
top명령어와 사용방법 (0) | 2011.03.22 |
우분투 10.04 한글깨짐현상 해결방법 (0) | 2011.03.17 |
Recent Comments