共計 1077 個字符,預計需要花費 3 分鐘才能閱讀完成。
自動寫代碼機器人,免費開通
本篇內容介紹了“apache+php+mysql+gd 的安裝方法”的有關知識,在實際案例的操作過程中,不少人都會遇到這樣的困境,接下來就讓丸趣 TV 小編帶領大家學習一下如何處理這些情況吧!希望大家仔細閱讀,能夠學有所成!
編譯安裝 php5.2.0 時出錯解決方案
1. 錯誤信息 ………………. 如下 checking for mcrypt support… no checking for mhash support… no checking whether to include mime_magic support… no checking for MING support… no checking for mSQL support… no checking for MSSQL support via FreeTDS… no checking for MySQL support… yes checking for specified location of the MySQL UNIX socket… /tmp/mysql.sock checking for MySQL UNIX socket location… /tmp/mysql.sock checking for mysql_close in -lmysqlclient… no checking for mysql_error in -lmysqlclient… no configure: error: mysql configure failed. Please check config.log for more information.
2. 解決方法: 如果是自己選擇 GZ 包安裝的 MYSQL。這里要加路徑。加的方法為 –with-mysql-dir=/user/local/mysql 切記不可寫為:–with-mysql=/user/local/mysql a、checking lex output file root… ./configure: line 2425: lex: command not found configure: error: cannot find output from lex; giving up 缺少 flex-2.5.4a-29.i386.rpm,從 linux 9.0 光盤中找到 flex-2.5.4a-29.i386.rpm,安裝,重新編譯 php,ok.
“apache+php+mysql+gd 的安裝方法”的內容就介紹到這里了,感謝大家的閱讀。如果想了解更多行業相關的知識可以關注丸趣 TV 網站,丸趣 TV 小編將為大家輸出更多高質量的實用文章!
向 AI 問一下細節