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 good is polymorphism?
What is the difference between rest and soap?
Which function can be used to exit from the script after displaying the error message?
What are php errors?
Is ruby on rails php?
Tell me how to strip whitespace (or other characters) from the beginning and end of a string?
When to use get and post request?
What is the best practice for running mysql queries in php? Consider the risk of sql injection.
What is mvc in php?
What are the ways to define a constant in php?
What is php sequence?
Explain object-oriented methodology in php?
What is cookie in php with example?
What is the difference between $var and $$var?
Why shouldn't I use mysql_* functions in php?