Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Heroku deployment error: No runtime requirements

I am trying to deploy a PHP app on heroku but I get the following error:

remote: 
remote: -----> PHP app detected
remote: -----> Bootstrapping...
remote: -----> Installing platform packages...
remote:        NOTICE: No runtime required in composer.json; requirements
remote:        from dependencies in composer.lock will be used for selection
remote:        - php (7.0.9)
remote:        - apache (2.4.20)
remote:        - nginx (1.8.1)
remote: -----> Installing dependencies...

Apparently only the css is not working, which I find weird since I use the w3.css framework and I am including it via the CDN.

Any ideas?

like image 316
padawanTony Avatar asked Mar 08 '26 02:03

padawanTony


1 Answers

So, I solved this Runtime warning by adding require: ^7.0.0 in the composer.json.

Kudos to @ElliottFrisch for the hints.

like image 135
padawanTony Avatar answered Mar 09 '26 15:03

padawanTony



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!