Retrieve extension_dir without php-config
Differentiate extension dir based on architecture