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

后端 未结 6 1202
时光取名叫无心
时光取名叫无心 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条回答
  •  -上瘾入骨i
    2021-02-02 11:12

    I created my project folder 'phpproj' in

    ...\xampp\htdocs

    ex:...\xampp\htdocs\phpproj

    and it worked for me. I am using Win 7 & and using xampp-win32-1.8.1

    I added a php file with the following code

    
    

    was able to access the file using the following URL

    http://localhost/phpproj/copy.php
    

    Make sure you restart your Apache server using the control panel before accessing it using the above URL

提交回复
热议问题