make it work anywhere

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Toxicous8
    New Member
    • Oct 2015
    • 57

    make it work anywhere

    Hi, I'm fine, thank you for asking.But I have a problem with php again.I've been able to install xampp correctly.And I have run my first php file just fine.Although in order to make the .php file run, it must be in the "htdocs" folder.Is it possible to run the file outside the folder(in the desktop specifically)?A nd how please???
    Last edited by Dormilich; Nov 26 '15, 07:48 AM.
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    you have to tell the server where the web root folder is. for an apache server that is typically done in the httpd.conf file, see https://httpd.apache.org/docs/curren...html#directory

    Comment

    Working...