从cron我看到:
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20131226/mongo.so' - /usr/lib/php5/20131226/mongo.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/mcrypt.so' - /usr/lib/php5/20121212/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/mcrypt.so' - /usr/lib/php5/20121212/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
PHP Warning: PHP Startup: Unable to load dynamic library '/usr/lib/php5/20121212/mcrypt.so' - /usr/lib/php5/20121212/mcrypt.so: cannot open shared object file: No such file or directory in Unknown on line 0
mongo和mcrypt已安装且当前 我也尝试过:
sudo ldconfig -v
无济于事。目录/ usr / lib / php5 / 20131226 /显示:
-rw-r--r-- 1 root root 89240 Oct 27 21:40 curl.so
-rw-r--r-- 1 root root 114136 Oct 27 21:40 gd.so
-rw-r--r-- 1 root root 39832 Jan 27 2015 json.so
-rw-r--r-- 1 root root 47936 Jan 27 2015 mcrypt.so
-rw-r--r-- 1 root root 380400 Jan 27 2015 mongo.so
-rw-r--r-- 1 root root 159464 Oct 27 21:40 mysqli.so
-rw-r--r-- 1 root root 60504 Oct 27 21:40 mysql.so
-rw-r--r-- 1 root root 159896 Oct 27 21:40 opcache.so
-rw-r--r-- 1 root root 36168 Oct 27 21:40 pdo_mysql.so
-rw-r--r-- 1 root root 118216 Oct 27 21:40 pdo.so
-rw-r--r-- 1 root root 31576 Oct 27 21:40 readline.so
-rw-r--r-- 1 root root 853376 Jan 27 2015 xdebug.so
正如我所料。我正在运行nginx而不是apache,所以给出了什么。谁能指出我正确的方向?我已经看了几天,并且厌倦了我的日志文件,这些文件已经填满了这个错误。
mongo也被编译成了。那么这是从哪里来的?
谢谢!