Works on CentOS now
This commit is contained in:
parent
097519fbad
commit
e090a061a9
26
php.cf
26
php.cf
|
@ -8,6 +8,9 @@ classes:
|
|||
"php_install_repo" expression => not(fileexists("/etc/apt/sources.list.d/php.list"));
|
||||
vars:
|
||||
"version" string => "$(php.version)";
|
||||
centos::
|
||||
"version" string => "";
|
||||
|
||||
|
||||
freebsd::
|
||||
|
||||
|
@ -60,6 +63,23 @@ vars:
|
|||
"php-gd",
|
||||
};
|
||||
|
||||
centos::
|
||||
"pkgs" slist => {
|
||||
"php$(version)-cli",
|
||||
"php$(version)-common",
|
||||
"php$(version)-pecl-zip",
|
||||
"php$(version)-pgsql",
|
||||
"php$(version)-mysqlnd",
|
||||
"php$(version)-xml",
|
||||
"php$(version)-gd",
|
||||
"php$(version)-mbstring",
|
||||
"php$(version)-intl",
|
||||
"php$(version)-pecl-imagick",
|
||||
"php$(version)-ldap",
|
||||
"php-pecl-json-post"
|
||||
|
||||
};
|
||||
# "php$(version)-curl",
|
||||
|
||||
commands:
|
||||
# (debian|ubuntu)&php_install_repo::
|
||||
|
@ -126,6 +146,12 @@ vars:
|
|||
"apache_m" string => "php";
|
||||
"apache_f" string => "libphp";
|
||||
|
||||
centos::
|
||||
"version" string => "";
|
||||
"fpm_pkgs" slist => { "php$(version)-fpm" };
|
||||
"fpm_service_name" string => "php$(version)-fpm";
|
||||
"fpm_socket" string => "/run/php-fpm/www.sock";
|
||||
|
||||
|
||||
files:
|
||||
"$(ini_files)"
|
||||
|
|
Loading…
Reference in New Issue