Edits to add curl to the dependencies and list of php modules.
Edits to make sure dependencies are loaded in the correct order.