【发布时间】:2014-12-03 20:00:28
【问题描述】:
我有专用服务器和一些网站,但我需要允许 PHP 在两个网站之间使用/包含文件。
例如,第一个网站在此位置有文件/home/first/public_html/lib/mainclass.php
我需要将该文件包含在第二个网站 (/home/second/) 的某个文件中,如下所示:
<?php
include('/home/first/public_html/lib/mainclass.php');
我到底需要做什么?服务器在 Debian 上,我有 Virtulamin/Webmin——所以如果我能在里面做这件事会很好。 天呐
【问题讨论】:
标签: php apache debian webmin php-include