我试图在Heroku上发布以下静态HTML页面(通过使用PHP来解决它无法托管静态页面)。 Heroku接受应用程序,但它不会在浏览器中加载(我收到500条消息)。我已经重命名了我的文件" index.php"并且还加载了一个空的composer.json文件......
<?php require (‘home.html’);?>
<!DOCTYPE html>
<html>
<head></head>
<body>
<h1>test page </h1>
</body>
</html>