警告:include():打开'phar://httpful.phar/Httpful/Bootstrap.php失败

时间:2017-02-23 11:52:39

标签: php rest

我使用PHP httpful连接到休息界面。它已经工作了多年,但今天早上,我遇到了这些错误:

  

警告:include():无法打开'phar://httpful.phar/Httpful/Bootstrap.php'(include_path ='/ opt / cpanel / ea-php70 / root / usr / share / pear')在第4行的/home/myserver/public_html/lib/phar/httpful.phar

httpful.phar内容:

<?php
    // Phar Stub File
    Phar::mapPhar('httpful.phar');
    include('phar://httpful.phar/Httpful/Bootstrap.php');
    \Httpful\Bootstrap::pharInit();

    __HALT_COMPILER(); ?>

我不明白一夜之间发生了什么变化或如何解决它。任何人都可以帮助我吗?

0 个答案:

没有答案