Z
Z
ZeroMorale2018-03-04 17:53:24
Sublime Text
ZeroMorale, 2018-03-04 17:53:24

How can I set the file to open on localhost?

I practice on a local server. The task is to open the test.php file not along the path file:///D:/xampp/htdocs/demo/test.php but localhost/demo/test.php

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
IvankoPo, 2018-03-04
@IvankoPo

You need to make htdocs the root directory for the web server

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question