安装PHP常见错误解决,有人总结了:

http://blog.sina.com.cn/s/blog_61c07ac501018836.html

如果环境安装好了,发现缺少扩展。

通常都是一个一个的去下载源码  -->编译 -->安装 -->配置 等操作,比如安装soap步骤如下:

CentOS中安装php环境遇到的坑

这种安装方式繁琐不说,还容易出错。

其实我们只需要使用yum install 就可以了。

比如说安装soap 我们只需要运行命令 : yum install php-soap 就可以了(亲测有效)。 

以下是常见的PHP扩展:

yum -y install php-gd php-xml php-mbstring php-ldap php-pear php-xmlrpc php-devel php-imap php-odbc php-soap php-bcmath

测试环境:CentOS6.5  PHP5.3.3 

相关文章:

  • 2021-10-08
  • 2021-11-25
  • 2021-09-19
  • 2022-02-09
  • 2021-10-20
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-01-24
  • 2021-10-11
  • 2021-04-26
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-05-02
相关资源
相似解决方案