php mysql extension installation
Posted jdcai
tags:
篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了php mysql extension installation相关的知识,希望对你有一定的参考价值。
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的主要内容,如果未能解决你的问题,请参考以下文章