Browse Source

Merge pull request #1 from MemoryLeak55/master

make map.jinja use the php_version variable everywhere
pull/214/head
waynegemmell 7 months ago
parent
commit
e6d73ec512
No account linked to committer's email address
1 changed files with 37 additions and 37 deletions
  1. +37
    -37
      php/map.jinja

+ 37
- 37
php/map.jinja View File

]), ]),
}, },
'cli': { 'cli': {
'ini': '/etc/php/7.2/cli/php.ini',
'ini': '/etc/php/' + php_version + '/cli/php.ini',
}, },
'apache2': { 'apache2': {
'ini': '/etc/php/7.2/apache2/php.ini',
'ini': '/etc/php/' + php_version + '/apache2/php.ini',
}, },
'xcache': { 'xcache': {
'ini': '/etc/php/7.2/mods-available/xcache.ini',
'ini': '/etc/php/' + php_version + '/mods-available/xcache.ini',
'defaults': {}, 'defaults': {},
}, },
}, },
'apache2': 'libapache2-mod-php', 'apache2': 'libapache2-mod-php',
'apc': 'php', 'apc': 'php',
'apcu': 'php-apcu', 'apcu': 'php-apcu',
'bcmath': 'php7.1-bcmath',
'bz2': 'php7.1-bz2',
'bcmath': 'php' + php_version + '-bcmath',
'bz2': 'php' + php_version + '-bz2',
'cache-lite': 'php-cache-lite', 'cache-lite': 'php-cache-lite',
'cgi': 'php-cgi', 'cgi': 'php-cgi',
'cli': 'php-cli', 'cli': 'php-cli',
'console-table': 'php-console-table', 'console-table': 'php-console-table',
'composer_bin': 'composer', 'composer_bin': 'composer',
'curl': 'php-curl', 'curl': 'php-curl',
'dba': 'php7.1-dba',
'dev': 'php7.1-dev',
'dba': 'php' + php_version + '-dba',
'dev': 'php' + php_version + '-dev',
'fpm': 'php-fpm', 'fpm': 'php-fpm',
'gd': 'php-gd', 'gd': 'php-gd',
'geoip': 'php-geoip', 'geoip': 'php-geoip',
'net4': 'php-net-ipv4', 'net4': 'php-net-ipv4',
'net6': 'php-net-ipv6', 'net6': 'php-net-ipv6',
'oauth': 'php-oauth', 'oauth': 'php-oauth',
'opcache': 'php7.1-opcache',
'opcache': 'php' + php_version + '-opcache',
'pear': 'php-pear', 'pear': 'php-pear',
'pgsql': 'php-pgsql', 'pgsql': 'php-pgsql',
'php': 'php', 'php': 'php',
'sybase': 'php-sybase', 'sybase': 'php-sybase',
'tcpdf': 'php-tcpdf', 'tcpdf': 'php-tcpdf',
'temp_dir': '/tmp', 'temp_dir': '/tmp',
'tidy': 'php7.1-tidy',
'tidy': 'php' + php_version + '-tidy',
'xcache': 'php', 'xcache': 'php',
'xdebug': 'php-xdebug', 'xdebug': 'php-xdebug',
'xml': ['php-xml', 'php-xmlrpc'], 'xml': ['php-xml', 'php-xmlrpc'],
'xsl': 'php7.1-xsl',
'xsl': 'php' + php_version + '-xsl',
'zip': 'php-zip', 'zip': 'php-zip',
}, },
'fpm': { 'fpm': {
'conf': '/etc/php/7.1/fpm/php-fpm.conf',
'ini': '/etc/php/7.1/fpm/php.ini',
'pools': '/etc/php/7.1/fpm/pool.d',
'service': 'php7.1-fpm',
'conf': '/etc/php/' + php_version + '/fpm/php-fpm.conf',
'ini': '/etc/php/' + php_version + '/fpm/php.ini',
'pools': '/etc/php/' + php_version + '/fpm/pool.d',
'service': 'php' + php_version + '-fpm',
'user': 'root', 'user': 'root',
'group': 'root', 'group': 'root',
'defaults': odict([ 'defaults': odict([
('global', odict([ ('global', odict([
('pid', '/var/run/php7.1-fpm.pid'),
('error_log', '/var/log/php7.1-fpm.log'),
('pid', '/var/run/php' + php_version + '-fpm.pid'),
('error_log', '/var/log/php' + php_version + '-fpm.log'),
])), ])),
('include', '/etc/php/7.1/fpm/pool.d/*.conf'),
('include', '/etc/php/' + php_version + '/fpm/pool.d/*.conf'),
]), ]),
}, },
'hhvm': { 'hhvm': {
]), ]),
}, },
'cli': { 'cli': {
'ini': '/etc/php/7.1/cli/php.ini',
'ini': '/etc/php/' + php_version + '/cli/php.ini',
}, },
'apache2': { 'apache2': {
'ini': '/etc/php/7.1/apache2/php.ini',
'ini': '/etc/php/' + php_version + '/apache2/php.ini',
}, },
'xcache': { 'xcache': {
'ini': '/etc/php/7.1/mods-available/xcache.ini',
'ini': '/etc/php/' + php_version + '/mods-available/xcache.ini',
'defaults': {}, 'defaults': {},
}, },
}, },
'apache2': 'libapache2-mod-php', 'apache2': 'libapache2-mod-php',
'apc': 'php', 'apc': 'php',
'apcu': 'php-apcu', 'apcu': 'php-apcu',
'bcmath': 'php7.0-bcmath',
'bz2': 'php7.0-bz2',
'bcmath': 'php' + php_version + '-bcmath',
'bz2': 'php' + php_version + '-bz2',
'cache-lite': 'php-cache-lite', 'cache-lite': 'php-cache-lite',
'cgi': 'php-cgi', 'cgi': 'php-cgi',
'cli': 'php-cli', 'cli': 'php-cli',
'console-table': 'php-console-table', 'console-table': 'php-console-table',
'composer_bin': 'composer', 'composer_bin': 'composer',
'curl': 'php-curl', 'curl': 'php-curl',
'dba': 'php7.0-dba',
'dev': 'php7.0-dev',
'dba': 'php' + php_version + '-dba',
'dev': 'php' + php_version + '-dev',
'fpm': 'php-fpm', 'fpm': 'php-fpm',
'gd': 'php-gd', 'gd': 'php-gd',
'geoip': 'php-geoip', 'geoip': 'php-geoip',
'net4': 'php-net-ipv4', 'net4': 'php-net-ipv4',
'net6': 'php-net-ipv6', 'net6': 'php-net-ipv6',
'oauth': 'php-oauth', 'oauth': 'php-oauth',
'opcache': 'php7.0-opcache',
'opcache': 'php' + php_version + '-opcache',
'pear': 'php-pear', 'pear': 'php-pear',
'pgsql': 'php-pgsql', 'pgsql': 'php-pgsql',
'php': 'php', 'php': 'php',
'sybase': 'php-sybase', 'sybase': 'php-sybase',
'tcpdf': 'php-tcpdf', 'tcpdf': 'php-tcpdf',
'temp_dir': '/tmp', 'temp_dir': '/tmp',
'tidy': 'php7.0-tidy',
'tidy': 'php' + php_version + '-tidy',
'xcache': 'php', 'xcache': 'php',
'xdebug': 'php-xdebug', 'xdebug': 'php-xdebug',
'xml': ['php-xml', 'php-xmlrpc'], 'xml': ['php-xml', 'php-xmlrpc'],
'xsl': 'php7.0-xsl',
'xsl': 'php' + php_version + '-xsl',
'zip': 'php-zip', 'zip': 'php-zip',
}, },
'fpm': { 'fpm': {
'conf': '/etc/php/7.0/fpm/php-fpm.conf',
'ini': '/etc/php/7.0/fpm/php.ini',
'pools': '/etc/php/7.0/fpm/pool.d',
'service': 'php7.0-fpm',
'conf': '/etc/php/' + php_version + '/fpm/php-fpm.conf',
'ini': '/etc/php/' + php_version + '/fpm/php.ini',
'pools': '/etc/php/' + php_version + '/fpm/pool.d',
'service': 'php' + php_version + '-fpm',
'user': 'root', 'user': 'root',
'group': 'root', 'group': 'root',
'defaults': odict([ 'defaults': odict([
('global', odict([ ('global', odict([
('pid', '/var/run/php7.0-fpm.pid'),
('error_log', '/var/log/php7.0-fpm.log'),
('pid', '/var/run/php' + php_version + '-fpm.pid'),
('error_log', '/var/log/php' + php_version + '-fpm.log'),
])), ])),
('include', '/etc/php/7.0/fpm/pool.d/*.conf'),
('include', '/etc/php/' + php_version + '/fpm/pool.d/*.conf'),
]), ]),
}, },
'hhvm': { 'hhvm': {
]), ]),
}, },
'cli': { 'cli': {
'ini': '/etc/php/7.0/cli/php.ini',
'ini': '/etc/php/' + php_version + '/cli/php.ini',
}, },
'apache2': { 'apache2': {
'ini': '/etc/php/7.0/apache2/php.ini',
'ini': '/etc/php/' + php_version + '/apache2/php.ini',
}, },
'xcache': { 'xcache': {
'ini': '/etc/php/7.0/mods-available/xcache.ini',
'ini': '/etc/php/' + php_version + '/mods-available/xcache.ini',
'defaults': {}, 'defaults': {},
}, },
}, },

Loading…
Cancel
Save