我正在尝试使用 xampp 在我的本地主机上运行一个 php 网站,但不断收到“没有这样的文件或目录”,这是我得到的警告:-
警告:require_once(D:/wamp/www/ntany3/system/startup.php): 无法打开流:C:xampphtdocsntany3index.php 第 17 行没有这样的文件或目录
致命错误:require_once():在第 17 行的 C:xampphtdocsntany3index.php 中打开所需的 'D:/wamp/www/ntany3/system/startup.php' (include_path='C:xamppphpPEAR') 失败
// Startup
require_once(DIR_SYSTEM . 'startup.php');
I think you could add the path relative to current directory, like this:
Put below code in a new file and name it path.php Then upload it to your root directory and go www.example.com.com/path.php
and it'll tell you the full path.
Take that path and edit both config files .