1
我在Windows上使用EasyPHP。當我嘗試運行一個腳本(命令行),我有以下錯誤:來自PHP的「MySQL函數缺失」錯誤
DB connection error: MySQL functions missing, have you compiled PHP with the --with-mysql option?
它因爲使用HTTP運行PHP腳本時,所有的MySQL功能都工作正常,很奇怪。我檢查了我的php.ini文件,發現了所有MySQL擴展:
extension=php_mysql.dll
extension=php_mysqli.dll
任何想法是什麼錯?
非常感謝你,工作! – 2011-02-14 14:51:01