Install curl.
Install phpbrew.