1
我想在我的CentOS服務器上安裝pdo_mysql。我已經安裝了PDO; phpinfo()告訴我,pdo_sqlite是活動的。mysql_query在安裝pdo_mysql時丟失
所以我運行的命令
pecl install pdo_mysql
然而,這樣的錯誤了與我已經確保了擴展已在我的php.ini被宣佈,也該消息
checking for MySQL support for PDO... yes, shared
checking for mysql_config... /usr/bin/mysql_config
checking for mysql_query in -lmysqlclient... no
configure: error: mysql_query missing!?
。
我瀏覽過網頁,找不到任何幫助。
哦,如果它很重要,我運行PHP 5.3.3。
謝謝
你見過這個PHP Bug嗎? https://bugs.php.net/bug.php?id=36014&edit=1 –
你不使用yum的任何原因? 「yum install php-mysql」 – wgcrouch