can any one tell how to install LAMP server in terminal in
ubuntu.....and also tell please how to run php files in
ubunut and how to save and compile in ubuntu..i already
installed ubuntu ..but i dont installed lamp server so i
want to install lamp server in terminal is it possible
please reply

Answer Posted / sindhu

here i provide the installation commands for minimum
required packages for LAMP.

For MYSQL : sudo apt-get install mysql-client mysql-server

For Apache : sudo apt-get install apache2 apache2.2-common
apache2-utils

For PHP : php5 php5-mysql

To Restart the all Services of LAMP

For Mysql : sudo /etc/init.d/mysql restart

For Apache : sudo /etc/init.d/apache2 restart

For PHP : it's not need.

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Is jquery better than javascript?

574


What are some new features introduced in php7?

8380


Explain Creating and Naming an Array?

596


How is it possible to set an infinite execution time for php script?

528


Write logic to print Floyd's triangle in PHP?

552






What are objects in php?

540


What difference between require() and require_once()?

556


How To Get the Uploaded File Information in the Receiving Script?

598


Which php framework is fastest?

516


What php framework does wordpress use?

549


What is self in php?

563


What is regular expression in php?

546


What types of loops exist in php?

548


What are global variables in php?

504


What are psrs? Choose 1 and briefly describe it?

952