服务器 Gind.cn

服务器问题集锦,包括 Linux(Ubuntu, Centos,Debian等)和Windows Server服务器

CentOS 5.9的Apache mod_php问题

我目前在生产服务器上使用FastCGI和PHP5.4的NGINX。 最近我们得到了大量CPU使用率的高峰,我想再花几天时间使用Apache和mod_php来查看问题是否可能与NGINX / FCGI隔离。 服务器是新的,从以前的服务器复制conf。 问题是,我似乎没有安装mod_php,无法在任何回购find它。 我已经search和search,但唯一的信息,我可以find如何从源代码build立PHP和Apache。 当然,从Yum安装Apache / PHP等几年以来,CentOS 5.9肯定会有一个包? 谢谢。 编辑:其他信息; 如果我尝试通过yum(php-xcache-admin或php-pdo等)安装任何php组件,我得到一堆依赖性错误。 libphp5.so不在框中。 updatedb && locate找不到任何东西。 编辑2 :更新与其他信息; [root@ded410 ~]# rpm -qa|grep php php-gd-5.4.13-1.el5.remi php-mbstring-5.4.13-1.el5.remi php-xcache-3.0.1-1.el5.remi php-common-5.4.13-1.el5.remi php-fpm-5.4.13-1.el5.remi php-cli-5.4.13-1.el5.remi php-pdo-5.4.13-1.el5.remi php-mysql-5.4.13-1.el5.remi php-xml-5.4.13-1.el5.remi php-pecl-memcache-3.0.7-5.el5.remi php-pecl-mongo-1.3.5-1.el5.remi php-pecl-sqlite-2.0.0-0.1.svn313074.el5.remi newrelic-php5-common-3.2.5.147-1 newrelic-php5-3.2.5.147-1 php-pear-1.9.4-12.el5.remi.1 php-pecl-igbinary-1.1.2-0.1.git3b8ab7e.el5.remi php-pecl-memcached-2.1.0-4.el5.remi.1 php-mcrypt-5.4.13-1.el5.remi [root@ded410 ~]# ls -1 /etc/yum.repos.d/ CentOS-Base.repo CentOS-Debuginfo.repo CentOS-Media.repo CentOS-Vault.repo dell-omsa-repository.repo epel.repo epel-testing.repo […]