

(I use Apache on a Windows box) In the conf subdirectory of your Apache directory is a file named nf and in that is your setting for Apache's "DocumentRoot". What is xampp It is an apache distribution that allows developers to easily create a local web server for projects they are working on. To do this, open your preferred text editor and name the file. Enabling file name extensions in Windows Explorer to edit the file name. To correct this, click on View in the File Explorer ribbon and check the box beside File name extensions. Put your html files under htdocs directory (or any subdirectory inside it) and then enter the correct path in your browser. This is because file extensions are hidden by default. If you’re on Windows, it might simply say index. I make folder www inside htdocs that I can place some folders with sites and make folder trywp. Navigate to the htdocs folder and then locate the index.php file. If the file doesn’t exist, you’ll need to create one. When I installed XAMPP it make folder C: xampp htdocs. However, you’ll find it via Applications > Xampp > xamppfiles > htdocs. If you are using a macOS, the file will still be in the htdocs folder. You can access to server from url address. htaccess file there: The location of the.

here is the detailĭ:\PHP\what should i write on address browser to run this index, or should I need to create new folder ? should I set the server (appserv) ? Localhost/xampp is a localhost xampp server folder address. I have my index.php file in folder aldo on drive D.
