Skip to main content

How to Install Xampp in windows

Before learning PHP you need to know about the packages through which you can run them. XAMPP is a package which used to setup the PHP environment by providing the required constellations and Softwares. This package includes Apache, MySQL, PHP, PHPMyAdmin, FileZilla FTP Server, Perl and more. There are a lot of packages like XAMPP known as WAMP, LAMP, MAMP. The packages names are based on the platform. For example, SAMPs for Solaris system and FAMPs for FreeBSD platform. It is very simple and easy to install XAMPP in out local machine. In this tutorial, we are going to see the XAMPP installation steps with screenshots.
Step 1: Go to Apache Friends and download XAMPP installer.

Step 2: Run the installer file to get into the installation wizard.
Step 3: During the wizard-like installation process, specify the language, the root directory path to locate the htdocs folder and select required components.
Step 4: After finishing installation process, run the XAMPP control panel to start Apache and the MySQL.
Step 5: Click ‘Allow access’ for the windows firewall alert shown at the first time of running the XAMPP modules.

Comments

Popular posts from this blog

Build chatbot with node js and react js

User Experience is given a lot of attention while building any application these days. More and more brands are leveraging chatbots to service their customers, market their brand, and even sell their products. There are a lot of awesome tools out there which helps in building an intelligent bot very easily like Google’s DialogFlow, Amazon Lex, etc, most of which implement their own Natural Language Processing (NLP) logic. However, in some cases, we don’t really need an intelligent bot. Whenever we have a small application having a limited set of options to choose from, it’s not really necessary to use NLP based tools like Google’s DialogFlow. You need to integrate with them (which is pretty easy though), and you need to make a network call to get the results. Instead, you would want to define your rules locally in those cases. Here we will build a simple chatbot using React Simple Chatbot library and add it to our pizza-builder app using which we can build ou...

PHP Image Upload with Size Type Dimension Validation

File upload feature requires basic validations to  make clean and hygienic  the user input. There is a huge chance of exploiting a file upload option with malicious intent. Improper implementation of a file upload input increases security vulnerability. We need to validate the uploaded files before saving them on the server to reduce the vulnerability. I have created a HTML form and provided an option to upload files. When the form is submitted, the file binaries are sent to the PHP and validated in the server side. I have checked if the uploaded file is an image and I have specified the allowed image extension, size and dimension based on which the validation is taking place. After all these validations have passed, the image file is saved in the target location as specified. The server-side image file validation takes place in the following aspects. If the file is not empty. If the file extension is one of .jpg, .png, .jpeg. If the file size is le...

Foreach Loop in PHP

In PHP,  foreach  statement is used to iterate over a collection of data, like  PHP arrays . As per the name of this construct, it will keep on continue with the loop to traverse given input array for each of its element, without any condition. We have slightly touched about how this is working in PHP while seeing about  PHP loops . In this article, let us see about  foreach  statement with more details. Unlike other PHP loop statements,  while ,  do..while  and  for , this PHP loop statement  foreach  contains no counters, conditions and no need of increments or decrements, explicitly. Rather, it will iterate with each element and will be useful, where all the elements of the array to be traversed unconditionally. foreach  Usage in PHP Script We can use  foreach  statement in a PHP program with two various syntaxes differed based on the iteration behavior for getting array elements in the following t...