The reason to choose XAMPP:
There are a lot of website development environments and tools. But why do we choose xampp? At first, it is open source. It's composed of PHP, Apache and Mysql, which are most used by small-middle company. All of them are free, open source. All of them are packed into one package. You just need to install XAMPP, then you can use it to build you own website and design your database. It's one ideal choice for new learner.
How to use it.
1, Download it and then install it by default.
2, Go to "localhost/xampp", you can see the xampp settings, then click the "phpMyAdmin", then you can see your mysql. You can create or delete your database here.
3, Then, you can see one "xampp control panel icon" on you desktop, then click it.
4, You can run "apache", 'mysql' .
5, Then write your first php program, then save it under folder "xampp/htdocs"
6, Input your website address to view the result: localhost/xampp/helloword.php
Tips:
1, The Apache uses the same port with skype, make sure you close the skype before running apache.
2, When you click the run "apache", or "mysql", don't too rush, it needs a little time to run them.
Good luck and enjoy your journey with developing website!
No comments:
Post a Comment