Iam not able to get familiar with XAMPP interface on Windows7 (Only prior experiencxe is with HTML,C,C++). How to proceed to begin development work in PHP and MySQL and test developed contents using Apache Server. Please help to understand its working flow. Thanks in Advance.
I was beginning from Denwer. It was very easy to begin with him. He includes php, mysql, apache.
XAMPP is only a service that provides a webserver, server side language (PHP), database and interface to connect to said interface. Once it is installed you are good to go, all you need to do is turn on Apache, then MySQL. All the rest of the installation requirements should be done automatically upon installation.
Maybe it is better to explain your particular issue...
You have to run the Apache server for php and the MySQL server for MySQL :D. You can run it by starting the XAMPP Control and than run them. Now you can go to the localhost http://localhost/ There are some instructions.
I hope it is useful.
Marcel
First, find a good PHP book or tutorial to learn PHP. There are plenty out there, just Google or visit the PHP homepage.
As you follow the book or tutorial, save your .php files in the XAMPP htdocs
folder. This will let you view your results using the XAMPP web server. For example, if you write a PHP script called test.php
and save it in the htdocs
folder, you can access it on your local XAMPP server via http://localhost/test.php.
XAMPP includes phpMyAdmin, which lets you manage the included MySQL database. You can learn more about phpMyAdmin here.
Be sure to read the XAMPP documentation so that you know how to start up Apache and MySQL and access phpMyAdmin.
Do you really need XAMPP? Sumit, I also have Win7/x64 on one machine, where I installed
- Apache 2.2.16 for 32bit Windows
- PHP 5.3.2 (x32 Windows VC6 install binary)
- Perl 5.12.1 32bit x86 from Activestate
- MySQL 5.1 32bit x86 Windows installer)
I installed all-32-bit stuff (even if on 64bit Windows) because that guarantees you a much simpler life. You can handle or maintain every component individually, for including PHP or Perl into Apache, you just change a line or two in the Apache config file. There's no magic at all with all these programs. Install them by yourself and learn a lot in the process.