我在CentOS6.5中安装了PHP5.4和mongodb。
我试图使用中的指令安装PHP扩展,但是当我运行php -m | grep -i mongo时,它显示了以下错误:
PHP Warning: PHP Startup: mongo: Unable to initialize module
Module compiled with module API=20090626
PHP compiled with module API=20100525
These options need to match
in Unknown on line 0
请提出解决办法。
Apache崩溃时出现以下错误:
mod_fcgid: can't apply process slot for /usr/local/cpanel/cgi-sys/php5
mod_fcgid: /usr/local/cpanel/cgi-sys/php5 spawn score 10 >= 10, skip the spawn request
mod_fcgid: too many /usr/local/cpanel/cgi-sys/php5 processes (current:10, max:10), skip the spawn request
mod_fcgid: p
我正在尝试设置我的Opencart站点,我让本地站点在我的Debian开发机器上工作,为了生产,我有一个带有apache之类的CentOS5.4VPS。当我试图在VPS中安装OpenCart时,在步骤2中它说:
Warning: mCrypt extension needs to be loaded for OpenCart to work!
还显示了一些扩展,如mysql、GD、cURL和mCrypt设置为off,以及何时设置为on。
mCrypt的版本是
Mcrypt v2.6.8 (x86_64-redhat-linux-gnu)
Enlazado contra libmcrypt v2
我遇到了一个与完全相同的问题,但解决方案对我不起作用。
我从下载了带有供应商包的Symfony 2.4.1标准供应商。解压缩文件并下载composer.phar之后,我运行php composer.phar install并获得以下错误:
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set
我已经做了以下工作:
Installed PHP 5.3.3
Installed GTK 2.0.1
Installed the latest version of php-gtk from svn
All dependencies are resolved and installed.
我编辑了php.ini,将GTk库加载到extension=php_gtk2.so扩展库中,并将其保存。
如果我检查一下php -m,我会发现一个与Unable to Load Dynamic Library ../../php_gtk2.so类似的错误,我假设它可能是因为php_gtk2.so是一个静