Php 赫罗库没有';我什么也没表现出来
在我的本地主机中,程序运行良好,但当我将其部署到heroku时,它不会显示任何内容,这是我的文件夹。这里是我的索引代码:Php 赫罗库没有';我什么也没表现出来,php,heroku,Php,Heroku,在我的本地主机中,程序运行良好,但当我将其部署到heroku时,它不会显示任何内容,这是我的文件夹。这里是我的索引代码: <?php session_start(); ?> <!DOCTYPE html> <html lang="ina"> <head> <meta charset="utf-8"> <meta http-equiv="X-UA-Compatible" content="IE=edge">
<?php
session_start();
?>
<!DOCTYPE html>
<html lang="ina">
<head>
<meta charset="utf-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>Lovanto Blog</title>
<link href="css/bootstrap-4.0.0.css" rel="stylesheet">
<link href="css/styles.css" rel="stylesheet">
<link href="css/modal.css" rel="stylesheet">
<script src="js/jquery.min.js"></script>
<link rel="icon" href="icon.ico" type="image/x-icon" />
</head>
<body>
<?php
require 'vendor/autoload.php';
require 'cloudinary/vendor/autoload.php';
require 'cloudinary/config.php';
include 'conn.php';
include 'code/clock.php';
include 'view/header.php';
include 'view/body.php';
include 'view/footer.php';
?>
</body>
</html>
使用
/allpath/
在Web服务器上尝试更改所有路径如何操作?示例包括“view/footer.php”
到包含'/view/footer.php'代码>带所有路径的obv仍然不起作用您是否更改了所有包含/要求文件?你有没有检查谷歌开发,如果所有的文件都包括在内?
web: vendor/bin/heroku-php-apache2