Hi,
I'm following this tutorial on making a translator with HTML/CSS/JS/PHP and I notice the person is using Apache XAMPP to run the program. First, I tried running my code with Live Server but I realized it isn't suited to run this kind of program (same thing with "open in default browser" option). I kept getting a
POST http://127.0.0.1:5500/process.php 405 (Method Not Allowed) error
with Live Server; however, I'm expecting "Hello Everyone." to print on console (from 13:14 to 13:39 in video).
If it helps, here's my files so far -
- assets
- js
- app.js
- jquery.min.js (downloaded into project)
- css
- style.css (empty)
- tailwind.min.css (downloaded into project)
- js
index.html
process.php (only contains the text "hello everyone.")
Because of the 405 error, I tried downloading XAMPP but ran into some issues and then decided to look for alternatives. So far I came across one called Community Server Connectors but I'm not exactly sure how I'd use it and if it works with web dev programs.
How would I run the program without XAMPP? Are there any options that can run my program without errors, just like in the video? Thanks!
Top comments (0)