php问题:The requested URL /01/Untitled-2.php was not found on this server.

php问题:The requested URL /01/Untitled-2.php was not found on this server.

出现这个问题基本上是因为你的Apache没有配置好,想要解决这个问题也是十分的简单,但是也是十分的重要,因为这将是你开始学习PHP必须要解决的问题

解决方法是打开wampserver打开Apache的httpd.conf(要想学习PHP必须要安装wampserver或者其他的软件,因为wampserver有Apache和MySQL服务,因此选择一个wampserver来代替分开的Apache和MySQL)php问题:The requested URL /01/Untitled-2.php was not found on this server.找到php问题:The requested URL /01/Untitled-2.php was not found on this server.documentroot和directory,把他们的路径修改成站点的文件位置,记住是小写的d盘,然后再找到php问题:The requested URL /01/Untitled-2.php was not found on this server.httpd-vhosts.conf,php问题:The requested URL /01/Untitled-2.php was not found on this server.同样把documentroots和directory改成站点文件,保存以后重启restart all services,
php问题:The requested URL /01/Untitled-2.php was not found on this server.然后再刷新网页或者重新输入localhost/index.php,然后回车php问题:The requested URL /01/Untitled-2.php was not found on this server.这只是我们打开PHP世界的第一步,标志着我们踏入了PHP,但是我们还要再继续努力才能掌握这门语言。