在CentOS 5.6上build立一个不受pipe理的专用网页服务器

我刚刚用iweb购买了我的networking服务器,说实话,我不知道如何正确设置专用的networking服务器。

我已经能够安装httpd,php,mysql,但似乎并不完整。 另外,如果我想用yum命令安装最新版本的php 5.3.6,我该怎么做。

I need help with ->Installing php 5.3.6 along with apc ->Make sure it is compatible with the rest of the configuration 

其他的PHP,httpdconfiguration加快了PHP。 我会问如何设置nginx作为代理服务器,但我认为这将是一个单独的问题更好。

干得好:

yum安装php53 php53-mysql php-pear gcc

wget http://pecl.php.net/get/APC-3.1.9.tgz

tar zxf APC-3.1.9.tgz

cd APC-3.1.9; phpize

./configure –enable-apc

make && make install

将APC Stanza添加到/etc/php.ini中:

 ; APC Settings extension= "apc.so" apc.enabled=1 apc.shm_segments=1 apc.optimization=0 apc.shm_size=64M 

服务httpd重启

HTH,但是如果你在网上找不到这个,你很可能在pipe理这个服务器上很困难。