码迷,mamicode.com
首页 > 数据库 > 详细

php mysql extension installation

时间:2018-06-18 20:59:07      阅读:165      评论:0      收藏:0      [点我收藏+]

标签:res   hat   php7.0   ati   SQ   php   run   ram   through   

after installed php by $ sudo apt install php, we can check the php version by $php -v,  to me ,it is 7.0.

 

so in order to connect to mysql in $php -S localhost:80000, we need to install mysql extension or the program can`t connect to mysql.

 

$sudo apt install php7.0-mysql

 

so ,that`s ok, now we can run wordpress through $php -S localhost:8000

php mysql extension installation

标签:res   hat   php7.0   ati   SQ   php   run   ram   through   

原文地址:https://www.cnblogs.com/jdcai/p/9196032.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!