Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/matlab/15.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Php 赫罗库没有';我什么也没表现出来_Php_Heroku - Fatal编程技术网

Php 赫罗库没有';我什么也没表现出来

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">

在我的本地主机中,程序运行良好,但当我将其部署到heroku时,它不会显示任何内容,这是我的文件夹。这里是我的索引代码:

<?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