Fix issue #351 for php that doesn't support curl
Note the default variants