Local Host PHP
Posted: 12. October 2017 18:16
I've downloaded XAMPP v.3.2.2 and included Apache and MySQL. While this question may seem basic, I'm having some difficulties hosting local PHP files for me to debug.
In my xampp folder, I've created a folder called projects and then I created a folder for the website project that I'm working on with all of my php files. I had thought that if I did that and started Apache that whenever I navigated to: 127.0.0.1/projects/[project_folder]/[file_name].php it would show up. Instead, I get a 404.
Obviously, I'm doing this wrong, how do I host local PHP files?
In my xampp folder, I've created a folder called projects and then I created a folder for the website project that I'm working on with all of my php files. I had thought that if I did that and started Apache that whenever I navigated to: 127.0.0.1/projects/[project_folder]/[file_name].php it would show up. Instead, I get a 404.
Obviously, I'm doing this wrong, how do I host local PHP files?