468,505 Members | 1,675 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,505 developers. It's quick & easy.

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)?And how please???
Nov 25 '15 #1
1 4195
Dormilich
8,651 Expert Mod 8TB
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
Nov 26 '15 #2

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

22 posts views Thread by Chris Schumacher | last post: by
2 posts views Thread by Allen Maki | last post: by
8 posts views Thread by emailmygroup | last post: by
reply views Thread by NPC403 | last post: by
3 posts views Thread by gieforce | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.