Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我已经在 Centos 6.4 上设置了我的 apache 服务器。但是当我运行我的页面时,浏览显示的 Apache 测试页面,我做错了什么?在 /var/www/vhosts/testing.page 中,我的文件“index.php”是:
<?php echo 'Welcome, Trien'; ?>
我的虚拟主机:![虚拟主机][1]
我的页面显示:![浏览显示][2]
有什么帮助吗?感谢
删除 index.htm 或 index.html(如果存在)。
另外,检查文件的权限,确保它具有“执行”权限。