alisleepy

deepin系统安装php扩展(或者统信UOS系统)

背景:安装统信UOS系统后,安装lnmp环境,安装完成后测试时发现没有mysql相关扩展,无法连接mysql,在这记录下安装php扩展的简便方法

执行一下命令进行安装:
使用root权限:安装时可能有些文件没写入的权限,所以root权限安装

sudo apt-get install php-curl;
sudo apt-get install php-gd;
sudo apt-get install php-mbstring;
sudo apt-get install php-simplexml;
sudo apt-get install php-sockets;
sudo apt-get install php-redis;
sudo apt-get install php-redis;
sudo apt-get install php-mongodb;
sudo apt-get install php-mysqli;
sudo apt-get install php-memcache;
sudo apt-get install php-mcrypt;

分类:

技术点:

相关文章:

  • 2022-12-23
  • 2021-07-14
  • 2021-12-04
  • 2021-04-01
  • 2021-04-17
  • 2022-12-23
  • 2021-05-11
  • 2021-12-29
猜你喜欢
  • 2022-12-23
  • 2021-12-19
  • 2021-08-28
  • 2021-06-21
  • 2021-12-18
  • 2021-07-30
  • 2021-09-17
相关资源
相似解决方案