警告:require_once(PLUSPEOPLE / autoload.php):无法打开流

时间:2016-07-21 20:12:46

标签: php

我正在尝试安装名为" pesapi"
的汇款API This is how the error is displayed

<?php
namespace Pluspeople\Pesapi;
set_include_path("..local_include:../include:" . get_include_path()); 
require_once("PLUSPEOPLE/autoload.php");

1 个答案:

答案 0 :(得分:1)

也许你在Windows上运行它?

:替换为PATH_SEPARATOR中的set_include_path。像这样:

set_include_path("../local_include" . PATH_SEPARATOR . "../include" . PATH_SEPARATOR . get_include_path());

Windows的路径分隔符为;而不是: