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
How To Get the Uploaded File Information in the Receiving Script?
Why sessions are used in php?
What is prepared statement in php?
What is data structure in php?
Tell me how can you pass a variable by reference?
What is the ioncube php loader?
How to compare two strings with comparison operators in php?
What are the features and advantages of object-oriented programming in php?
Explain the visibility of the property or method?
Can we override static method?
What does mysqli_query return?
How to send email using php script?
What is a helper function?
Which is useful for method overloading?
How to receive a cookie from the browser?