Set ext_conf_dir to /etc/php5/mods-available for ubuntu >=12.10