Question:
I am trying to create a MySQL database and use PHP but am having trouble even setting it up!?
2009-10-05 04:12:06 UTC
I have PHP and MySQL for dummies but can't even install everything correctly.
Apparently I need a web server like Apache, but when trying to download it, there are loads to choose from. Apache Camel seemed to be one with SQL and PHP languages so I downloaded that.
I then downloaded MySQL which was fine.
But after downloading PHP and setting it up, I tried to link it to the Apache Camel file but it said an error.

Could someone just guide me from the very start please?
Or just any help would be appreciated!
Thanks
Seven answers:
Nigel
2009-10-05 07:21:32 UTC
You could try WAMP, which is Apache, MySQL and PHP preconfigured to run. Just download from http://www.wampserver.com/en/download.php and you should then be able to start developing. The site also has pointers to help you get going.
question asker
2009-10-06 20:20:13 UTC
Here's 2 easy steps..



1: Uninstall everything you installed so far..



2: Download and install WampServer.



3: Everything is now installed (i.e Apache, PHP, MySQL, SQLite)



4: Run it.



5: Click on the Icon in the System Tray. Click on 'www directory'. This is where you keep your projects (each project should be its own folder). To open a php page select 'localhost'. This will open your web-browser with your list of project folders.



One more thing.. it helps if you already have Firefox installed and set as your default browser before installing WampServer. This will make the installation even easier.



Good luck!
Billion Dollar Boy
2009-10-05 05:11:20 UTC
By downloading and installing Apache, you are basically trying to set up a local server for development on your hard drive. This is not difficult, but for someone just starting out who does not really know much about servers and configuration . . . it may seem a bit complex for you.



At the same time, it is also far too much work for someone to type out step by step directions for you. There are so many things that can go wrong, it would take forever to try to give you all of the information needed. And also, we can not see what you are doing to help you.



Therefore, it is my opinion that it would be easier for you to find a really cheap host company that has a linux server with php and MySql support. These host companies are very easy to find, and some of them are super cheap.



It will be much easier for you to use your Dreamweaver and simply connect to your server and test/develop . . .then to install apache on your local drive, if you don't know what you are doing.



You can certainly test your luck and keep trying the Apache Install. It is, after all, FREE.



I work for a software development company, and we could probably offer you a small amount of space for a low monthly fee. (We have special development server packages especially for students!! ) But, I am not promoting our site, just letting you know that we can help.



There are tons of inexpensive server companies if you just search google.
Cristiano
2009-10-06 14:48:04 UTC
Since you are a beginner and looks like you are on Windows, install AppServ. Just search for it and you will find it. Download the latest version and you will have the full install for PHP, MySql and Apache on your machine.



On this site: http://mcloide.wordpress.com there is a PHP Basics Series witch shows how to start with PHP.
anon
2009-10-05 09:29:56 UTC
The Apache Camel is sort of advanced and going in a specialized path

Check out this:

http://en.wikipedia.org/wiki/Comparison_of_WAMPs

Take a look and these.

EasyPHP, Apache2Triad, AppServ and XAMPP

Also you may want to uninstall Apache Camel
rhona
2016-11-05 18:07:43 UTC
For starters, you ought to in all probability have right here tables: person, survey, survey_questions, survey_answers. then you may create a user_survey_rel table that hyperlinks clientele and surveys with distant places key relationships, and merely enable a one-to-many dating. case in point if the survey id is 5 and the person id is 3 hundred, you ought to be waiting to have different rows on your user_survey_rel table with surveyID = 5 and userID = 3 hundred and then another identifier to link to the survey_answers table for that distinctive set of solutions that person gave.
2009-10-05 04:15:03 UTC
wats the error..? u dint mention that..!


This content was originally posted on Y! Answers, a Q&A website that shut down in 2021.
Loading...