Open Php With Xampp

We all know that, XAMPP is a free open source cross platform web server solution stack package, which consist mainly Apache HTTP server, MySQL server database and interpreters for script written in the PHP and Perl Programming languages. It is a good tool for learners of PHP, Perl or mySQL. Here is the simple steps to installing the XAMP and start using this for running your PHP scripts.

Double-click C:/xampp/xampp-control, then click 'start' for mysql and apache Login at with user:admin pass:pass Set the timezone for php Method 1. Double-click C:/xampp/xampp-control, then click 'stop' for apache Click 'Config' button for Apache and select the 'PHP (php.ini)'.

Steps to run PHP Scripts Using XAMPP

  1. This video demonstrates on how to run php codes with Xampp web server. More tutorials on
  2. Installing XAMPP on a Mac. Download XAMPP for Mac OSX - Be sure to select the proper version of PHP. For Webucator classes, any version after 5 will be fine. Open the downloaded file (the DMG-Image). Drag and drop the XAMPP folder into your Applications folder. Starting XAMPP on OSX.
  3. Go-xampp-php-php.ini (configuration settings) and open with Notepad. Go to line 1044 under Module Settings and change the continent and city. Keep the forward slash after the continent and use the underline if there is a space in the name of the city. Save and close the file.
  4. The file path is 'C: xampp htdocs' for your Web server. Make sure your PHP files are saved as such; they must have the '.php' file extension. Open up any Web browser on your desktop and enter 'localhost' into the address box. The browser will open a list of files stored under the 'HTDocs' folder on your computer.

1. As said above, you can download XAMPP for free. You can get your free copy from here.
2. Open the downloaded file and install the applications.
3. Once installed, run the XAMPP control panel and start Apache and MySQL servers. Enable MySQL if your program needs database.

Open php file with xampp

4. Click on the ‘Explore’ button on the XAMPP control panel. The new window opens with file explorer. Search for the ‘htdocs’ folder.
4. htdocs folder is the folder Apache server points to. In this folder you need to place the PHP scripts your want to run.
5. Open the browser and enter the address http:// localhost/yourphpscript.php, where yourphpscript is the script name of your php code.
6. You can even create sub folders inside htdocs to place and run php scripts. If you are using folders insider htdocs, then you need to enter the following path in the browser address bar.
http://localhost/foldername/yourphpscript.php where ‘foldername’ is the name of the folder which contains php scripts created inside your htdoc folder.
7. Your browser will execute the script and show the output.

Here is the code and steps in video you can refer the solution for your problem on how to connect phpwith mysql using Xampp Server. We use phpMyAdmin as a database administrative tool to sync with mysql and php which bridge connection between web client and server. Jiffy lube james mowatt trail sw.

What is Xampp?

Xampp is an abbreviation for cross-platform, Apache, MySQL, PHP and Perl, and it allows you to build WordPress site offline, on a local webserver on your computer. Xampp is an open source software developed by Apache friends. The use of Xampp is to test the clients or your website before uploading it to the remote web server.

To Know about how to download and install Xampp server in local pc computer you can read this article Read More

Xampp mysql tutorial

To Connect php with mysql database you need to install XAMPP which is an easy to install Apache distribution containing MariaDB, PHP, and Perl.

I had demonstrated this problem with a simple html registration form written in php having some 4 to 5 fields in it and connect with mySql phpMyAdmin database administrative tool using Xampp Server i.e localhost server.

Below is the Video & Code for step guide on how to connect html registration form and php mySql using xampp server and its setting to establish the phpMyAdmin database with localhost server.

HTML Registration Form(sample_register.html)

Details Entry Form

details entry form how to connect mysql with php using xampp


//These are the main settings to establish your connection with mysql database it could vary as per your system



Open Php With Xampp





Here are the steps of setting the connection and running the html registration form with phpMyAdmin mySql database using xampp server(localhost)


To Download latest Xampp Server click download xampp 7.4.6 / PHP 7.4.6/8.0.0

You can alsoread to this article for bsc computer science syllabus 2020 Read article


you can also read to this article for bsc IT syllabus 2020 Read article

Xampp Control

Read this article for Important Programming Languages a B.Sc computer science/Bsc IT student must know Read article