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

Which php framework is best?

524


Explain me what are the 3 scope levels available in php and how would you define them?

705


What are objects in php?

502


What is putenv?

540


What is properties of class?

575






How to increase the execution time of a PHP script?

508


How can we check the value of a given variable is a number?

578


What is php session_start() and session_destroy() function?

529


What is the meaning of symbol '$' in jquery?

517


Which is better #define or enum?

511


How to upload file in php?

518


How to define a function with any number of arguments?

543


Is php closing tag necessary?

533


What is the difference between myisam and innodb?

492


How do I repair phpmyadmin?

502