PDA

View Full Version : [ubuntu] UBUNTU 12.04 LTS - PHP Manuall Installation



solution.wand
September 27th, 2013, 10:21 PM
Hello Ubuntu Community,

I install UBUNTU 12.04 LTS desktop on VMWARE Workstation.

I installed run following commands to create PHP/mySQL environment using terminal.

sudo apt-get install apache2
sudo apt-get install mysql-server
sudo apt-get install php5 libapache2-mod-php5

These three commands worked fine for me but when I run following commands
sudo apt-get install php5-cli
sudo apt-get install php5-cgi
sudo apt-get install php5-mysql

It displayed dependency error. How to git rid of dependency issue.

swapnil-indore
September 28th, 2013, 08:17 AM
the best way to install php, mysql and apache is using the tasksel

apt-get install tasksel
tasksel
select LAMP Server and OK


--
Swapnil Jain (http://www.techpage3.com)