我有一个问题,说pdo异常。找不到驱动程序我尝试取消注释并在php.ini文件中添加驱动程序/库。仍然是错误是一样的。下面是我的php.ini文件的几行。 我甚至尝试使用以下命令安装pdo驱动程序。 sudo apt-get install php5-mysql然后我得到另一个错误列表。错误也发布在下面。严重脱离线索。请帮帮我
我在端口8000上有我的laravel5(我通过localhost:8000运行应用程序) 和phpmyadmin在localhost:8080上运行
;extension=php_openssl.dll
;extension=php_pdo_firebird.dll
extension=php_pdo_mysql.dll
extension=pdo.so
extension=pdo_mysql.so
;extension=php_pdo_oci.dll
;extension=php_pdo_odbc.dll
usman@usman-cs:~/lampstack-5.5.26-0/php$ sudo apt-get install php5-mysql
[sudo] password for usman:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
php5-mysql : Depends: libmysqlclient18 (>= 5.5.24+dfsg-1) but it is not going to be installed
Depends: php5-common (= 5.5.9+dfsg-1ubuntu4) but 5.5.9+dfsg-1ubuntu4.13 is to be installed
E: Unable to correct problems, you have held broken packages.