启用mcrypt,soap和pdo_mysql

I am having some issues with enabling the modules mentioned in the title on my CentOS machine.

yum install php-mcrypt / php-soap / php-mysql worked fine and mentioned that they had been installed, after restarting Apache it appears that they aren't enabled.

I cannot locate the mcrypt.so for example, and running php --ini gives:

PHP Warning:  PHP Startup: Unable to load dynamic library './mcrypt.so' - ./mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0

This is after I put extension=mcrypt.so in the php.ini.

查看全部
douou6696
douou6696
2013/07/30 09:54
  • apache
  • php
  • mysql
  • centos
  • 点赞
  • 收藏
  • 回答
    私信
满意答案
查看全部

3个回复