[PHP] File 'NONEXISTENT/charsets/?.conf' not found (Errcode: 2)

| | Comments (0)

會產生這個錯誤的原因是 PHP 所使用的 MySQL lib 和 MySQL 的版本不搭,
解決方式是重新編譯 PHP, configure 時加入 --with-mysql=/usr 指定 MySQL 正確位置.
最後用 phpinfo() 檢查一下 MySQL Client API version 和系統是否一致.
ref: PHP誌:File `NONEXISTENT/charsets/?.conf` not found (Errcode: 2)

Leave a comment

March 2009

Sun Mon Tue Wed Thu Fri Sat
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31        

About this Entry

This page contains a single entry by Pank published on December 10, 2006 4:28 AM.

MySQL Replication was the previous entry in this blog.

ASUS 網站被植入惡意程式 is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.