Update configuration to use PHP domain extension, and ignore build directory.