Saturday, March 12, 2011

PHP5, MySQL and APACHE

I created a web application (PHP) that show the data stored in MySQL's database.
 

The materials needed are:
PHP, MySQL and Apache

Clicking this link (video) that can show how to install php, mysql and apache or following the next steps:

  1. Type 'sudo apt-get install mysql-server mysql-client;'
  2. Type 'y' when appears the question to install;
  3. Note: you have type password to user root.
  4. After the installation is finished, type 'sudo apt-get install php5' (in my case, apache was selected to install automatically)
  5. Type 'y' when appears the question to install;
  6. To check out if the web server apache is working, go to any browser and type 'http://localhost' in address bar;
  7. If  web server apache is not working, type 'sudo apt-get install apache2'
  8. Type 'y' to install apache2 web server;
  9. Congratulations, you finished the installation with success!

No comments:

Post a Comment