Â XAMPP and its components
What is XAMPP?
XAMPP is an abbreviated wordÂ which comes from five words, written as follows:
- ‘X’ refers to Cross (Cross-platform)
- ‘A’ refers to Apache (HTTP Server)
- ‘M’ refers to MySQL (Database)
- ‘P’ refers to PHP (Server-side scripting language)
- ‘P’ refers to Perl (Also scripting programming language)
So, we canÂ define XAMPP as:
“XAMPP is a free open source cross platform consists of Apache HTTP Server, database MYSQL and Server sideÂ scripting languageÂ whichÂ isÂ PHP and other scripting languageÂ Perl.â€
XAMPP and its components has defined, now explanation of XAMPP and its components areÂ follows.
Â Â Â Â XAMPP is a cross platform of four main components:
Apache is the purely web server application which process and deliver the web contents from website to computer or server. Now-a-days, Apache is very popular web server and more than 54% of all websites use Apache web server.
2. MySQL Database:
Any website is simple or complicated, it requires a database to store and manipulate data. XAMPP use MySQL database which is the most popular open source database management system.
As we know that PHP stands for Hypertext Preprocessor. It is totally server-side and scripting high levelÂ language. It isÂ mostly used server language and many popular websites are in PHP such as WordPress and Facebook. It is also open source, easy for learning and understanding and more compatible with MySQL. These features makes a lot of role in its popularity.
Perl is also high level programmingÂ language. It is mostly used in System Admin, dynamic and networking programming. It is not popular like PHP but has many application.
These are the XAMP and its components. Now the comparison of the languages are:
Similarities between PHP and Perl language
PHP as well as Perl are high level scripting languages.
Both PHP and PerlÂ languages cannot execute within browsers window
PHP and PerlÂ can obtain files from other domains on the Internet.
Both languages support MySQL database.
Files can be updated on server in both languages.
There is no declaration of data-typeÂ required for any variable before its use, in both languages.
Both PHP and Perl moreÂ interpretÂ with double-quoted string (“string”) than single-quoted string(‘string’).
Dissimilarities between PHP and Perl language
PHP require HTTP to executeÂ but Perl does not require HTTP for any execution.
The source code of PHP is within the web-page file but the source code of Perl is not in the web-page file.
PHP has single array data-type, which plays the role of both arrays or listsÂ andÂ hashes in Perl.
By default, in PHP, the scope of variables are local but in Perl, scope variables are global.
Perl gives us only single line comment using ‘#’ symbol, but PHP provides us C-styleÂ multi-line comment (/*…………….*/) and Java-style single line comment (//…………).
Some keywords have different spelling in both languages, such as PHP has ‘elseifÂ ‘but in Perl it is ‘elsif ‘.
Â Â Â Â Â Â Â Â Â Â Â Â Â Â XAMP is lightweight and simple Apache distribution which makes it very easy so that you can make a local web-server for different purposes such as practicing andÂ testing your work without using Internet, etc. WÂ It has everything, you haveÂ to need for creating a complete working environment. For example,
- You need a Server andÂ XAMPP has Apache server application.
- You need a database to store data and to manipulate withÂ data, it has MySQL database for these purposes.
- You need a server side scripting language, XAMPP provides two popular languages such as PHP stands for Hyper-text Preprocessor and the Perl language.
This is our topic that what is XAMP and its components.
You also want toÂ see how to install XAMPP.