Hoping you guys can help me here. Let me set this up.
For my one class in college we needed to make a book store website (think Amazon.com). We had to use php and MySQL to get it working. I knew nothing of PHP and MySQL prior to this and had a friend set it up for me on my laptop. Since I didn't have a server, it was all done on my laptop and it was all good. He downloaded PHP Editor and Apache (not sure which version, probably the latest.) I installed both in the same random (not random, but it doesn't matter to the story) folder and everything was fine. Running Apache started up my browser and took me to
http://localhost/ the editor worked with it. I made databases and everything was great.
Skip to now. The business I work for recently made a website and my friend (Taximes) and I are in charge of getting it all together. Well I want to use databases because of how much easier it would make things. My friend got the page up and running on his server on the FTP that's on this computer. So I installed the same php editor and the same apache on the computer. But, it's not connecting to
http://localhost/ or
http://localhost/phpmyadmin/. When I start up apache, it's giving me a "syntax error on line 61 of c:../../../apache/conf/httpd.conf: ServerRoot must be a valid directory". I don't know why because I set it up the exact same way as it's set up on my laptop (in fact it's the exact same since I used the same install files). I don't know how to fix this. Help!
Another thing: when I get it to work, how exactly do I mess what I do with apache with what's already been done? Do I put all the file that I have into the www/public folder in apache then upload it? The site is currently live and I don't want to screw anything up.
Posts
Is it possible for you to get access to the work server now and just set up a new directory to set up your stuff in while you're working on it? Then you can just move it to the main directory when it's complete and ready to go live.
Notepad.
Also, I would strongly, strongly recommend you learn to use a MVC like CodeIgniter to make things a billion times easier. If you do, make sure you watch the video tutorials after reading the user guide.