在为本地WAMPP服务器设置config.php时遇到问题


Trouble setting up config.php for local WAMPP server

试图在我的本地机器上开发我们的应用程序,所以我安装了WAMPP。现在我很难让所有的文件找到彼此。

在index.php文件中,我们有:

// SET CONFIG
require dirname(__FILE__).'/config.php';
// SET AUTOLOADING
require ("App/Libraries/Callback/Loader.php");
在config。php中,我们有:
// SET ROOT PATH
define('ROOT', realpath(dirname(__FILE__) . '/'));
define('URL_ROOT', $rootConfig['url_root']);
define('DOMAIN', $_SERVER['HTTP_HOST']);

所有内容位于:C:'wamp'www'callbackstaffing

App不能正确加载当我访问localhost/callbackstaffing/

该怎么办??

明白了!APC未安装…