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
What is local variable in php?
How to get the IP address of the client/user in PHP?
What is final keyword in php?
What is a collection in php?
Tell me how can we check the value of a given variable is alphanumeric?
What is the use of die in php?
What is the difference between for and foreach loop in php?
What is the difference between apache vs niginx?
How is the comparison of objects done in php?
How to remove all duplicate values in array in php?
What are php filters?
What are the methods to submit form in php?
Explain what are the different errors in php?
What are the string functions in php?
Explain me what is the goto statement useful for?