Where do I put my php files to have Xampp parse them?

后端 未结 6 1199
时光取名叫无心
时光取名叫无心 2021-02-02 10:26

I finished installing Ubuntu 10 for netbooks, and XAMPP. The XAMPP website tutorial made it very easy to install, then left me high and dry. Everything works, but I have no idea

6条回答
  •  北荒
    北荒 (楼主)
    2021-02-02 11:14

    When in a window, go to GO ---> ENTER LOCATION... And then copy paste this: /opt/lampp/htdocs

    Now you are at the htdocs folder. Then you can add your files there, or in a new folder inside this one (for example "myproyects" folder and inside it your files... and then from a navigator you access it by writting: localhost/myproyects/nameofthefile.php

    What I did to find it easily everytime, was right click on "myproyects" folder and "Make link..."... then I moved this link I created to the Desktop and then I didn't have to go anymore to the htdocs, but just enter the folder I created in my Desktop.

    Hope it helps!!

提交回复
热议问题