not sure if this is in correct forum
I have php5, myphpadmin, apache and the latest mysql.
The following questions are simply driving me mad… I just can’t seem to get it!!! If the following were explained I would sleep much better at night.. I was not sure where to post this so if it is in the wrong place please tell me…. thanks
1.Is it or is it not important to set up different users for different website projects or is it fine to use my username and password (the ones that give me acces to myphpadmin) that works for every web project I start? Please bear in mind that the computer I use is my own and as such is not shared with anyone
2. Does the above leave me open to security issues if I do not set up a username and password for different projects within myphpadmin?
3.Is it good policy to create users specific to different projects with their own username & password with limited privileges? I read that somewhere….. If so how is this done?
4. Is it good practice to save the local root folder outside of the C:\Program Files\Apache Group\Apache2\htdocs folder or should I save everything to do with the site in a folder within apache/htdocs and from then on in dreamweaver assign local root folder and the testing server folder to the same location?
Example: If I have a site called “test_site” Should I have the local root folder here….
C:\Program Files\Apache Group\Apache2\htdocs folder\test_site ?
And should I also assign the testing server (folders) to the same locaition? With the following url prefix: htp://localhost/test_website/
Where does the remote server come it in all this?
5. I seem to be able to test locally if I use the above method but if I was to save the document root outside of the C:\Program Files\Apache Group\Apache2\htdocs folder\ and put it in C:\Websites\ (in dreamweaver I would assign the document root to C:\Websites\ but what would I assign the testing server folder to? The same or Do I need to assign it here… C:\Program Files\Apache Group\Apache2\htdocs folder\test_site ?
6.How do I set up the remote server? I mean what is the point? (idiots explanation required!)Can’t I just test locally on the with files for the site I am working on to be in a folder within C:\Program Files\Apache Group\Apache2\htdocs folder? What is the point of testing on a remote server as aposed to a local server?