Use php-config to get extensions_dir rather than fixed path.