/    Sign up×
Community /Pin to ProfileBookmark

Run VS Code web dev online on server

I’m following this [tutorial](https://youtu.be/-Bk4siyhvDE) 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 this error…

>

POST http://127.0.0.1:5500/process.php 405 (Method Not Allowed) error

405 error![405 error](https://dev-to-uploads.s3.amazonaws.com/uploads/articles/efw2txiey6jm32xj6rlq.png)

…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](https://pastebin.com/pW7jaPku)

  • [jquery.min.js](https://cdnjs.cloudflare.com/ajax/libs/jquery/3.6.0/jquery.min.js) (downloaded into project)

  • css
  • style.css (empty)

  • [tailwind.min.css](https://cdnjs.cloudflare.com/ajax/libs/tailwindcss/2.2.7/tailwind.min.css) (downloaded into project)
  • [index.html](https://pastebin.com/Zx5M7iqL)
    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!

    to post a comment
    HTMLJavaScript

    8 Comments(s)

    Copy linkTweet thisAlerts:
    @NogDogSep 17.2022 — I use Docker these days, myself, but there can be a bit of a learning curve. If it sounds like something you'd like to try, you'll want to install [Docker Desktop](https://docs.docker.com/desktop/) and maybe search for some recent tutorials on how to get it up and running with PHP. (Official PHP Docker images can be found at https://hub.docker.com/_/php)
    Copy linkTweet thisAlerts:
    @NogDogSep 17.2022 — PS: Maybe you could just try the [PHP Server](https://marketplace.visualstudio.com/items?itemName=brapifra.phpserver) VS Code extension, instead? 🤷‍♂️
    Copy linkTweet thisAlerts:
    @SempervivumSep 17.2022 — @code44#1647072

    I'm using XAMPP either and your code is running without issues.
    Copy linkTweet thisAlerts:
    @code44authorSep 17.2022 — @NogDog#1647074 Yes, this worked. Thanks so much!
    Copy linkTweet thisAlerts:
    @BadbunnymerchSep 20.2022 — [Bad bunny merch](http://badbunnymerch.biz/) is a branded website for Hoodies, t-shirts, Sweatshirts, and more. With designs ranging from the classic to the outlandish, you're sure to find the perfect item for any occasion.
    Copy linkTweet thisAlerts:
    @RanbooMerch456Sep 20.2022 — [url=https://ranboomerch.biz/]Ranboo Merch[/url] is a branded website for Hoodies, t-shirts, Sweatshirts, and more. With designs ranging from the classic to the outlandish, you're sure to find the perfect item for any occasion.
    Copy linkTweet thisAlerts:
    @forcetroubledOct 11.2022 — @Sempervivum [five nights at freddy's](https://fivenightsatfreddys.onl) #1647079

    I have tried and it's worked well.
    Copy linkTweet thisAlerts:
    @forcetroubledOct 11.2022 — @code44#1647072 [five nights at freddy's](https://fivenightsatfreddys.onl)

    I use Docker these days, myself, but there can be a bit of a learning curve. If it sounds like something you'd like to try, you'll want to install Docker Desktop and maybe search for some recent tutorials on how to get it up and running with PHP. (Official PHP Docker images can be found at https://hub.docker.com/_/php) >

    I can see a lot of useful information. It's worked well.
    ×

    Success!

    Help @code44 spread the word by sharing this article on Twitter...

    Tweet This
    Sign in
    Forgot password?
    Sign in with TwitchSign in with GithubCreate Account
    about: ({
    version: 0.1.9 BETA 4.25,
    whats_new: community page,
    up_next: more Davinci•003 tasks,
    coming_soon: events calendar,
    social: @webDeveloperHQ
    });

    legal: ({
    terms: of use,
    privacy: policy
    });
    changelog: (
    version: 0.1.9,
    notes: added community page

    version: 0.1.8,
    notes: added Davinci•003

    version: 0.1.7,
    notes: upvote answers to bounties

    version: 0.1.6,
    notes: article editor refresh
    )...
    recent_tips: (
    tipper: @Yussuf4331,
    tipped: article
    amount: 1000 SATS,

    tipper: @darkwebsites540,
    tipped: article
    amount: 10 SATS,

    tipper: @Samric24,
    tipped: article
    amount: 1000 SATS,
    )...