-
as seen on Server Fault
- Search for 'Server Fault'
I have been trying to resolve my issue of spiking cpu caused by php-fpm processes. I've reduced the php-fpm config settings to:
pm = ondemand
pm.max_children = 12
pm.start_servers = 2
pm.min_spare_servers = 2
pm.max_spare_servers = 10
pm.max_requests = 500
php_admin_value[memory_limit] = 128M
Problem…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
[root@ip ~]# yum install php-pear*
Reducing CentOS-5 Testing to included packages only
Finished
Setting up Install Process
Package 1:php-pear-1.8.1-2.el5.centos.noarch already installed and latest versio …
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I am taking over an application server and discover that it contain the following settings:
AddType text/html php
Although it works, but my understanding is that it should set as following:
AddType application/x-httpd-php php .php
What are the key differences between the two settings?…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
Hello.
I have a server with VBulletin forum (working under Apache 2.2, CentOS). The default settings for it in .htaccess are as follows:
RewriteEngine on
RewriteCond %{HTTP_HOST} ^gsmforum\.ru
RewriteRule (.*) http://www.gsmforum.ru/$1 [R=301,L]
# If you are having problems or are using VirtualDocumentRoot…
>>> More
-
as seen on Server Fault
- Search for 'Server Fault'
I have installed memcached fine, and now I will need to install PECL extension memcache. Im running RedHat x86_64 es5. The installation gives me this:
downloading memcache-2.2.6.tgz ...
Starting to download memcache-2.2.6.tgz (35,957 bytes)
..........done: 35,957 bytes
11 source files, building
running:…
>>> More