Install package unless PHP is compiled from source.

This commit checks that PHP was not compiled from source in order to
prevent installing the PHP package over the compiled PHP.

This change allows for the use of the Apache PHP configuration whether
or not one is using compiled or a packaged PHP.
Merge pull request #239 from jenkinslaw/check-php-install-method

Install package unless PHP is compiled from source.