运行服务httpd重启后,我无法在本地环境中运行项目


I am unable to run the project in local environment after running the service httpd restart

通过使用命令service httpd restart运行httpd后,但我无法在本地运行项目。在运行项目时,它会显示PHP代码。你能帮我解决这个问题吗?这是PHP代码:

<?php// allow testing from the upgrade page before the site is upgraded.if (isset($_GET['__testing_rewrite'])) {
if (isset($_GET['__elgg_uri']) && false !== strpos($_GET['__elgg_uri'], '__testing_rewrite')) {
    echo "success";
}
exit;}require_once(dirname(__FILE__) . "/engine/start.php");$router = _elgg_services()->router;$request = _elgg_services()->request;if (!$router->route($request)) {
forward('', '404');}

查看HTTP配置和错误日志。PHP模块不再被加载,或者。PHP扩展名(或者你使用过的任何扩展名)不再与PHP模块关联。

在你提供更多细节之前,我们只能回答这些。