Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Anyone have any idea how to do this in tittle ? Or at least something similar (enable/disable functions that are usualy in php.ini)

My pool now looks like this

listen =
user = amar
group = amar
request_slowlog_timeout = 5s
slowlog = /var/log/slowlog-amar.log
pm.max_children = 5
pm.start_servers = 3
pm.min_spare_servers = 2
pm.max_spare_servers = 4
pm.max_requests = 500
include = /etc/php5/fpm/fpm.d/common.conf

and its located in fpm.d/pools which is included in defauld php5-fpm.conf

I found something about php_defines but I have no clue how to implement this


share|improve this question
up vote 2 down vote accepted

Got this with something like:

php_admin_value[open_basedir] = /home/amar/web
php_admin_value[allow_url_fopen] = 0


share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.