Page 1 of 1

Need a little help getting started [Solved]

PostPosted: 11. August 2012 17:20
by pachma
I've got Xampp installed - if I go to http://localhost I see the xampp page, but when I try putting a .php file in the htdocs directory I get an error. Where is the correct place to put the php script? Will .html be in the same place?

Re: Need a little help getting started

PostPosted: 11. August 2012 17:45
by pachma
Sorry nevermind, newb mistake..

Re: Need a little help getting started [Solved]

PostPosted: 03. December 2012 15:13
by ingen-adb
hello!
I've the same problem, how you solve?

I'm really new about, I’ve install Xampp, and don't know where put my file,
reading around and in this forum, I thing is in "File system /opt/lampp/htdocs", but I can't create file or folder in that's directory, ( although I'm the administrator of my pc).

Can I change the directory and use document folder where still my html docs?

Other, maybe useless, info

I Install Xampp because I'm learning Html and JS and now work together with php and aiax
Am I in wrong way using Xampp?

thank for answer http://askubuntu.com/questions/55312/how-to-save-php-file-in-opt-lampp-htdocs-without-going-to-terminal-and-type-sud

greeting Ingen

.-.-.-.-.-.-.-.-.
Edit:
I'm also find the way, if some one have that issue, just need to change the propiety of htdocs

in Terminal root, type " chown your_username:your_groupname /opt/lampp htdocs "
or in Terminal " sudo chown your_username:your_groupname /opt/lampp htdocs "
that don't change the existing sub-folder, and that still safe, but allow you to add your own file and folder

credits to http://askubuntu.com/questions/55312/how-to-save-php-file-in-opt-lampp-htdocs-without-going-to-terminal-and-type-sud

greeting Ingen