这可能只是一个非常愚蠢的问题,但我对这不起作用感到非常沮丧。我有一个(home.php)
包含<? include ("/production/fetch_order.php"); ?>
. 可以看出,我正在尝试从 home.php 访问文件。该文件被命名为fetch_order.php
生产文件夹中的文件。我的路径是正确的,拼写也绝对正确。但是我最终遇到了这个错误:
Warning: include(/production/fetch_order.php) [function.include]:
failed to open stream: No such file or directory in /path/to/home.php on line 119
Warning: include() [function.include]: Failed opening '/production/fetch_order.php'
for inclusion (include_path='.:/path/to/php/php5.3.6/lib/php') in
/path/to/home.php on line 119