简体   繁体   中英

Attempting to deploy static site (PHP) in Heroku shows source code instead?

I followed the steps documented here

I added php_flag engine off to my .htaccess file, turned my index.html file to index.php , however my Heroku app shows me source code? You can see this happening here

What am I doing wrong and how do I fix it?

只需完整上传即可,不要更改.htaccess。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM