Linux Help
guides forums blogs
Home Desktops Distributions ISO Images Logos Newbies Reviews Software Support & Resources Linuxhelp Wiki

Welcome Guest ( Log In | Register )



Advanced DNS Management
New ZoneEdit. New Managment.

FREE DNS Is Back

Sign Up Now
 
Reply to this topicStart new topic
> Very New Newbie, creating websites on linux as a user
theverychap
post Oct 28 2003, 06:40 AM
Post #1


Whats this Lie-nix Thing?
*

Group: Members
Posts: 1
Joined: 28-October 03
Member No.: 1,711



ok, im sure im going to get laughed at for this, but i need to learn!!!

Im already building sites using html/php/mysql etc.

Ive been used to running windows (xp) with an install of apache2, mysql3.23 and php4.3.3...

I have recently moved over to mandrake 9.1 - which i think is pretty great (no more MS for me...) - im having a bit of silly trouble::

I'm trying to set up an environment to develop and build websites, what i have done so far is this:

I set up a public_html directory in my 'home/stuart/' directory - which i can then create php scripts no problem , all gets parsed and serverd correctly. i have even dropped a copy of phpMyAdmin in my '/home/stuart/public_html/' folder - which allows me to create databases, tables, users etc. BUT:

upon the php script trying to access mysql, i get rejected, not allowed. I beleive this is because of the way i have set things up...

I beleive this to be the ideal set up:

for me to create the sites in '/home/stuart/public_html/' and then use FTP to pop them over to the '/var/www/' directory - after setting up all the relevant permissions etc... then i will be able to go to http://localhost to see my site. (as opposed to localhost/~stuart/particular-site/).

please help, this is sending me insane - i do not want to have to log in as root everytime to do stuff like this, i want to give the user 'stuart' all the necessary permissions to ftp to the /var/www/ folder and to access mysql with no problems...


im sure there must be an article dedicated to this? if anyone can give me help, it would be most appreciated!!

thanks,
Stuart ((stuart@theverychap.com))
Go to the top of the page
 
+Quote Post
Joey
post Oct 29 2003, 05:27 PM
Post #2


LinuxHelp Admin
*******

Group: Admin
Posts: 1,096
Joined: 18-September 02
Member No.: 1



What is the exact error you are receiving from mySQL

If you want stuart to have read/write/excute permissions on /var/www then simply change them. Information on how to change permissions can be found in our newbies page.
Go to the top of the page
 
+Quote Post

Reply to this topicStart new topic
1 User(s) are reading this topic (1 Guests and 0 Anonymous Users)
0 Members:

 



RSS Lo-Fi Version Time is now: 19th October 2017 - 02:27 AM