Failed to run php scraper

My php scraper is failing with a 255 code. Due to to a failure to bootstrap php.

It is simmilar to this error: PHP error - Failed to download minimal PHP for bootstrapping

I have tried adding the platform file but that just produces the following error:

Injecting configuration and compiling...
e[1G       e[1G-----> PHP app detected
e[91m-----> e[0m e[91m-----> e[0me[91mBootstrapping...
e[0m e[91m-----> e[0me[91mBootstrapping...
e[0me[91me[1;31m
 !     ERROR: e[0m e[91m-----> e[0me[91mBootstrapping...
e[0me[91me[1;31m
 !     ERROR: e[0me[91mFailed to download minimal PHP for bootstrapping!
 !     
 !     This is most likely a temporary internal error. If the problem
 !     persists, make sure that you are not running a custom or forked
e[0m e[91m !     version of the Heroku PHP buildpack which may need updating.
e[0m e[91m !     version of the Heroku PHP buildpack which may need updating.
e[0me[91me[0m
e[0m e[91m !     version of the Heroku PHP buildpack which may need updating.
e[0me[91me[0m
e[0mRemoving intermediate container eebf7a969fcf

What should I do?