src.dualinventive.com/devops/ansible/rootnet-roles/php5_3/defaults/main.yml

55 lines
2.6 KiB
YAML

---
php_version: "5.3.29"
php_source_download_url: "http://nl1.php.net/get/php-{{ php_version }}.tar.gz/from/this/mirror"
php_source_destination_basedir: "/usr/src"
php_source_destination_path: "{{ php_source_destination_basedir }}/php-{{ php_version }}"
php_install_prefix: "/opt/php5"
php_fpm_binary_path: "{{ php_install_prefix }}/sbin/php-fpm"
php_vhost_path: "{{ php_install_prefix }}/etc/php-fpm.d"
php_fpm_primary_config_path: "{{ php_install_prefix }}/etc/php-fpm.conf"
php_ini_path: "{{ php_install_prefix }}/etc/php.ini"
php_additional_config_path: "{{ php_install_prefix }}/etc/conf.d"
php_fpm_configure_params: "--prefix={{ php_install_prefix }} --with-config-file-path={{ php_install_prefix }}/etc --with-config-file-scan-dir=/opt/php5/etc/conf.d --with-curl --with-pear --with-gd --with-jpeg-dir --with-png-dir --with-zlib --with-xpm-dir --with-freetype-dir --with-mcrypt --with-mhash --with-mysql --with-mysqli --with-pdo-mysql --with-openssl --with-xmlrpc --with-xsl --with-bz2 --with-gettext --with-fpm-user=www-data --with-fpm-group=www-data --disable-debug --enable-fpm --enable-exif --enable-wddx --enable-zip --enable-bcmath --enable-calendar --enable-ftp --enable-mbstring --enable-soap --enable-sockets --enable-shmop --enable-dba --enable-sysvsem --enable-sysvshm --enable-sysvmsg --enable-pcntl"
php_fpm_init_path: "/etc/init.d/php-fpm"
php_fpm_init_daemon: "php-fpm"
php_pid: "/var/run/php-fpm.pid"
php_error_log: "/var/log/php53-fpm.log"
php_emergency_restart_threshold: "10"
php_emergency_restart_interval: "1m"
php_process_control_timeout: "10s"
php_max_execution_time: "600"
php_error_reporting: "E_ALL & ~E_NOTICE & ~E_STRICT & ~E_DEPRECATED"
php_display_errors: "0"
php_log_errors: "1"
php_realpath_cache_size: "2M"
php_session_save_path: "/tmp"
vhosts_basedir: "/var/www"
php_listen_mode: "0660"
php_listen_group: "{{ webserver_user }}"
php_pm: "dynamic"
php_pm_max_children: "30"
php_pm_start_servers: "16"
php_pm_min_spare_servers: "16"
php_pm_max_spare_servers: "24"
php_pm_max_requests: "500"
php_open_basedir_prefix: "{{ nginx_vhosts_basedir | default(vhosts_basedir) }}"
php_tmp_dir_prefix: "{{ nginx_vhosts_basedir | default(vhosts_basedir) }}"
php_max_file_uploads: "20"
php_memory_limit: "512M"
php_upload_max_filesize: "{{ php_memory_limit }}"
php_post_max_size: "{{ php_memory_limit }}"
php_date_timezone: "Europe/Amsterdam"
php_chdir: "/"
php_security_limit_extensions: ".php .php5"
php_expose_php: "no"
php_allow_url_fopen: 1
php_disable_functions: "openlog, passthru, popen, pclose, posix_getpwuid, posix_kill, posix_mkfifo, posix_setpgid, posix_setsid, proc_close, proc_get_status, proc_nice, proc_open, proc_terminate, shell_exec, system"