PHP: Fix for legacy 5.2 rebuild required when broken libcurl is detected.
PHP: Fix for legacy 5.2 rebuild required when broken libcurl is detected (2)