-4

Windows 10 OS

basically I want to run a php website offline, in my PC-locally, so that i can use it without internet.

Is it possible, to run locally as an offline-app

please tell me basic steps to achieve this.

8
  • 2
    Please edit the question to limit it to a specific problem with enough detail to identify an adequate answer.
    – Community Bot
    Commented Jun 30, 2023 at 5:02
  • 2
    We expect each question to show reasonable research effort. Have you tried searching for "host index.php locally". This is what I've got from google: PHP server on local machine. You haven't told us your OS. May the first "basic step" be "install Linux"? Or do you want to keep your current OS? What is your OS then? Commented Jun 30, 2023 at 5:20
  • sorry for those mistakes, I have updated the question
    – new
    Commented Jun 30, 2023 at 5:57
  • Do you want to run that website, or do you want to take the repository offline?
    – Berend
    Commented Jun 30, 2023 at 7:45
  • 1
    I’m voting to close this question because questions must demonstrate a reasonable amount of research & understanding of the problem being solved. Please edit to either a) clearly describe your problem and the research done so far to solve it or b) include attempted solutions plus why they didn't work. In either case, be sure your expected results are clearly presented.
    – Tetsujin
    Commented Jul 21, 2023 at 11:49

1 Answer 1

1

If you're using an appropriate Windows Edition, you can enable the "Internet Information Services" (aka IIS) feature from add/remove Windows components.

You can then set up the application in IIS with an application pool.

Alternatively, set up a local Apache web server on your machine.

If all of that sounds too complicated, then you'll need to do some research on how to set up a local development environment. There is no go-to step-by-step guide, as it depends on the application being developed.

Not the answer you're looking for? Browse other questions tagged .