Posts

Showing posts with the label php

Apache, PHP, MySQL, PhpMyAdmin installations in Ubuntu

Update list of available packages: sudo apt-get update To install apache2 server:  sudo apt-get install apache2   To start apache server for testing: sudo /etc/init.d/apache2 restart   Go to http://localhost/ You should see a It Works! page To install PHP:  sudo apt-get install php5   To install MySQL:  sudo apt-get install mysql-server Set a password when prompted To check installation, issue the command mysqladmin To install phpmyadmin: sudo apt-get install phpmyadmin select apache when prompted for web-server configuration when prompted for phpmyadmin configuration, select no after installation, run the following command sudo cp /etc/phpmyadmin/apache.conf /etc/apache2/conf.d restart apache and goto localhost/phpmyadmin to test the installation