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 we can get the number of elements in an array?
What is difference between require_once(), require(), include()?
Which is faster for or foreach php?
What is prepared statement in php?
How to include variables in double-quoted strings?
Echo is used to Display message on screen. Which is used with echo to not output the trailing newline?
How to create a mysql connection?
What is php session start?
What is the correct line to use within the php.ini file, to specify that 128mb would be the maximum amount of memory that a script may use?
What is a helper function?
What does $_cookie mean?
What is difference between sql and php?
What are PHP Magic Methods/Functions. List them.
How do you check if an arraylist is empty?
What is the use of php and mysql?