您好。我按视频演示安装了还是没有成功,请教如何处理,谢谢。
root@iZ94a3kgczzZ:~# apt-get install php5-mysql
Reading package lists... Done
Building dependency tree
Reading state information... Done
php5-mysql is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 62 not upgraded.
root@iZ94a3kgczzZ:~# cat /etc/php5/conf.d/mysq.ini
cat: /etc/php5/conf.d/mysq.ini: No such file or directory
PHP连接不上mysql的解决办法,有的版本需要去这个目录
cat /etc/php5/mods-available/mysql.ini才能看到extension=mysql.so