ad

Friday, 10 July 2015

How to Install PHP

           PHP Installation Guide (PHP  को  कैसे इंस्टॉल  करें )


To run PHP on your PC you should have three things
1. Web Server 
2. PHP
3. Database (MySQL)
Download and install all of them one by one.
 Or
You can download the WAMP or LAMP or XAMPP.
WAMP => For Windows containing Apache, MySQL, PHP
LAMP=> For Linux containing Apache, MySQL, PHP
XAMPP=> For all operating systems containing Apache, MySQL, PHP
 Note=> Download and install XAMPP it is easy to use it contains web server, PHP, MySQL for all operating system. Go to Xampp website to download.
To download PHP,  MySQL, Apache separately.
Its is very easy to install PHP. You can download it form www.php.net , click on this link then go to its downloads section and download the latest version available and according to your operating system.

You will also need a web server as you know that PHP runs on the web server, this web server runs and compile the PHP code, the Apache will be a good local web server,it is most widely used operating system in the world, it is also an open source software which is also free to use.
To Download go to www.apache.org/

Now you will also need an database to learn and create database go to https://www.mysql.com/ to download the latest available version of the MySQL.

All these software above are open source hence are free to use commercially too, it is the reason why most of the web hosting companies offers hosting for PHP and MySQL.



अपने कंप्यूटर पर  PHP चलाने के लिए तीन चीज आवश्यक हैं 
1. Web Server (वेब सर्वर)
2. PHP
3. Database(डेटाबेस जैसे MySQL)
 इन तीनो को डाउनलोड करें और एक एक कर के इनस्टॉल करें।
या
आप WAMP , LAMP or XAMPP इन में से कुछ भी डाउनलोड कर सकतें हैं।
WAMP =>  Windows के लिए। इसमे होता है   Apache, MySQL, PHP
LAMP=>Linux के लिए। इसमे होता है   Apache, MySQL, PHP
XAMPP=> सभी ऑपरेटिंग सिस्टम के लिए।   इसमे होता है   Apache, MySQL, PHP

इनको डाउनलोड करने के लिए गूगल पे WAMP , LAMP or XAMPP लिख के सर्च करें  जो वेबसाइट पहली हो उसमे जाके Downloads वाले ऑप्शन पे क्लिक करें और अपने ऑपरेटिंग सिस्टम अनुसार सॉफ्टवेयर डाउनलोड कर के इनस्टॉल करें। यह तरीका काफी समय बचाने  वाला है।  यही तरीका ज्यादातर वेब डेवलपर अपनाते हैं।
नोट => XAMPP का इस्तेमाल करें।

 तीनो को अलग अलग डाउनलोड करने के लिए। 

 Apache

 Apache को डाउनलोड करने के लिए www.apache.org/ लिंक पे जाएं और डाउनलोड सेक्शन में जाके Apache का सॉफ्टवेयर डाउनलोड करें।  Apache दुनिया में सबसे ज्यादा इस्तेमाल होने वाला सर्वर  है।

PHP

PHP का सॉफ्टवेयर डाउनलोड करने के लिए www.php.net/ लिंक पे जाके, डाउनलोड सेक्शन पे क्लिक करें वहाँ से PHP का लेटेस्ट सॉफ्टवेयर डाउनलोड करें।



MySQL

MySQL एक डेटाबेस है इसको डेटा को स्टोर करने के इस्तेमाल किया जाता है। अछा वेब डेवलपर बनने के लये ज़रूरी है के डेटाबेस को कैसे इस्तेमाल किया जाता है इसकी जनके हो। इसको डाउन करने के लिए https://www.mysql.com/ लिंक पे जाएं और MySQL का लेटेस्ट वर्शन डाउनलोड करें।



Sunday, 14 June 2015

What is PHP ?


PHP stands for 
PHP => PHP Hypertext Preprocessor.

PHP is a server side scripting language. It is used to make server side application, it executed on the server unlike the javascript which client side scripting language which executes on the client side or we can say it executes in the browser itself.
PHP is executed on the server and the result of it is sent to the browser in HTML.
PHP is executed it is not compiled like the C or Java these languages are compiled.
PHP is the most used website development language now, website like facebook is built on the php.
Most used Content Management System Wordpress is also based on PHP.
 Most of the websites are now developed in PHP language roughly around  60% of the dynamic websites are developed in php.
PHP is an Open Source  scripting language means it is free to use commercially.
PHP documents runs on the server, if you learning php it will be good that you download 
WAMP ->Window Apache MySQL PHP
            Apache is a server, MySQL is database that is mostly used with PHP you can also use   
              other  databases  such as oracle but MySQL is most suited to PHP and it is                                            also an open source free to use.
MAMP -> It is for Apple users.
XAMPP  -> Can be used by both Mac users as well as window user.