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
Answers were Sorted based on User's Feedback
Answer / 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 |
Answer / 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.
create the PHP file in ubuntu :
>>> Open texteditor Application->accessories-> text editor
save the php file in apache path
>>> press ctrl + s and save the file in the path of
/var/www/xxxx.php(put any file in xxxx)
/var/www/yy/xx.php ( save file within folder
yy -that may any folder name
xx -any file name with .php)
Run the PHP file:
>>> Open the firefox browser and type url like
http://localhost/xxxx.php (file name)
http://localhost/yy/xx.php (file within folder)
| Is This Answer Correct ? | 1 Yes | 0 No |
please can any one tell is there any openings for freshers in PHP ...please tell the company name and address sir where can i find ..php related companies and how much i expect salary as a fresher in php ..i finished my LAMP course i done my mca ..i seen in many job portals there is no job for freshers in php can any one tel me please in chennai i need php jobs ..? thank u friends
What is an abstract class in php?
What is curl php?
What is foreach loop in php?
What is the $_ server php_self variable?
How many escape sequences are recognized in double-quoted strings in php?
How to upload any files extension in our database Ex.(.doc,.txt,mp4,mp3 etc.)in php
What is an operator in php?
when we submit any string in single inverted comma('abc') with get or post method,we will get exact string with single inverted comma('abc')by using $_REQUEST[]. But it is giving (\'abc\'). so anybody please help me to remove that slash,therefore i will get exact string...
How be the result set of mysql handled in php?
What's the difference between __sleep and __wakeup?
Does csrf token change?