saz / puppet-php

Puppet module to manage php (Apache, CLI, FPM)
Other
64 stars 38 forks source link

Prefixed filenames as symlinks for modules configuration. #10

Open rafalwrzeszcz opened 11 years ago

rafalwrzeszcz commented 11 years ago

Dotdeb packages now store modules configuration in /etc/php5/mods-available and put index-prefixed symlinks into /etc/php5/conf.d, for example:

# ls -lA /etc/php5/conf.d/
total 0
lrwxrwxrwx 1 root root 25 06-17 12:24 10-pdo.ini -> ../mods-available/pdo.ini
lrwxrwxrwx 1 root root 25 09-26 17:07 20-apc.ini -> ../mods-available/apc.ini
lrwxrwxrwx 1 root root 24 10-31 07:32 20-gd.ini -> ../mods-available/gd.ini
lrwxrwxrwx 1 root root 29 07-22 23:31 20-imagick.ini -> ../mods-available/imagick.ini
lrwxrwxrwx 1 root root 26 08-17 14:08 20-intl.ini -> ../mods-available/intl.ini
lrwxrwxrwx 1 root root 31 10-21 21:18 20-memcached.ini -> ../mods-available/memcached.ini
lrwxrwxrwx 1 root root 30 06-17 12:25 20-memcache.ini -> ../mods-available/memcache.ini
lrwxrwxrwx 1 root root 28 06-17 12:25 20-mysqli.ini -> ../mods-available/mysqli.ini
lrwxrwxrwx 1 root root 27 06-17 12:25 20-mysql.ini -> ../mods-available/mysql.ini
lrwxrwxrwx 1 root root 31 06-17 12:25 20-pdo_mysql.ini -> ../mods-available/pdo_mysql.ini
lrwxrwxrwx 1 root root 32 09-03 18:07 20-pdo_sqlite.ini -> ../mods-available/pdo_sqlite.ini
lrwxrwxrwx 1 root root 29 09-03 18:07 20-sqlite3.ini -> ../mods-available/sqlite3.ini
lrwxrwxrwx 1 root root 28 09-04 21:20 20-xdebug.ini -> ../mods-available/xdebug.ini
lrwxrwxrwx 1 root root 25 11-08 15:46 20-xsl.ini -> ../mods-available/xsl.ini
saz commented 11 years ago

Are you running PHP 5.3 or 5.4?

rafalwrzeszcz commented 11 years ago

PHP 5.4. I guess, since you ask, that 5.3 is using old layout...