Home Tutorial Php Phpdatabase What do we need in PHP Database

 
 

Share on Google+Share on Google+
What do we need in PHP Database
Posted on: January 21, 2010 at 12:00 AM
Advertisement
We need three things that execute the PHP scripts and MySQL database. The first one is the server, it is either on your computer or you host it. I recommend you to use Apache server, it is free and also nicely conjunction with PHP and MySQL.

Part-4 : What do we Need ?

Before making any application or program, we need few software that is essential to run PHP and MySQL code. We need three things that execute the PHP scripts and MySQL database. 

The first one is the server, it is either on your computer or you host it. I recommend you to use Apache server, it is free and also nicely conjunction with PHP and MySQL.

The second thing you need to installed MySQL. It is a database that stores the information. We can also install or use other database with PHP but at the moment we will learn about MySQL database. In fact, the MySQL commands are also similar to SQL commands.

 MySQL is also free to download from any MySQL website and along with the MySQL we can also download the UI (User Interface) of  MySQL that is called the MySQL YOG.

Finally, we will need to installed the PHP on the server. It can be download from any PHP website and it is also free to use. You can install either WAMP, XAMPP OR LAMP to run the PHP scripts. If you have any one of those you don't need to install Apache and MySQL separately.

Let's check out  PHP and MYSQL by writing one small script and it will display the whole information about the configuration of Apache, PHP and MySQL.

<?php

    phpinfo();

?>

If you installed the PHP on your web server than it will show the huge page of information about PHP, Apache and MySQL.

It will look like the above image.

Advertisement

Related Tags for What do we need in PHP Database:


Follow us on Twitter, or add us on Facebook or Google Plus to keep you updated with the recent trends of Java and other open source platforms.

Posted on: January 21, 2010

Recommend the tutorial

Advertisements Advertisements
 

 

 

DMCA.com