【腾讯云】云产品限时秒杀,爆款1核2G云服务器,首年99元

ubuntu内nginx架设php

php运行提示错误:
PHP Warning: PHP Startup: Unable to load dynamic library 'pdo_mysql' (tried: /usr/lib/php/20170718/pdo_mysql (/usr/lib/php/20170718/pdo_mysql: cannot open shared object file: No such file or directory), /usr/lib/php/20170718/pdo_mysql.so (/usr/lib/php/20170718/pdo_mysql.so: undefined symbol: pdo_parse_params)) in Unknown on line 0
sudo apt-get --purge remove php-common

sudo apt-get install php-common php-mysql php-cli php-fpm

重启php-fpm

sudo service php[版本号]-fpm restart

 

 

posted @ 2019-01-09 11:29  happenzh  阅读(172)  评论(0编辑  收藏  举报