====== Installation ======
OpenBSD 5.4 :
# pkg_add -iv php-5.3.27 php-fpm-5.3.27 pecl-APC-3.1.9p3 pecl-memcache-3.0.6p3
====== Fichier de configuration ======
max_execution_time = 600
max_input_time = -1
max_input_vars = 10000
memory_limit = 256M
log_errors_max_len = 1024
post_max_size = 128M
upload_max_filesize = 128M
session.save_handler = memcache
session.save_path = "127.0.0.1:11211"
session.use_strict_mode = 1
opcache.enable = 1
opcache.memory_consumption = 128
opcache.interned_strings_buffer = 8
opcache.max_accelerated_files = 4000
opcache.validate_timestamps = 0
opcache.fast_shutdown = 1
allow_url_fopen = Off
disable_functions = curl_exec,curl_multi_exec,dl,escapeshellcmd,escapeshellarg,exec,ini_set,parse_ini_file,passthru,pclose,popen,posix_kill,posix_mkfifo,posix_setpgid,posix_setsid,posix_setuid,proc_close,proc_get-status,proc_nice,proc_open,proc_terminate,shell_exec,show_source,set_time_limit,system,virtual
open_basedir = "/opt/www/html:/tmp"
suhosin.request.max_varname_length = 128
suhosin.get.max_name_length = 128
user = test-default
group = test-default
listen = 127.0.0.1:9000
listen.allowed_clients = 127.0.0.1
pm = dynamic
pm.max_children = 5
pm.start_servers = 2
pm.min_spare_servers = 1
pm.max_spare_servers = 3
pm.status_path = /php-status-default
ping.path = /php-ping-default
ping.response = pong
location ~ ^/php-(status|ping)-default {
fastcgi_pass 127.0.0.1:9000;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
fastcgi_read_timeout 180;
}
====== Configuration ======
blah
====== Bibliographie ======
* site web officiel : [[http://www.php.net/]] ;
* Wikipedia : / ;
* etc.