Step 1 – Update repositories.
root@mail:/# apt-get update
root@mail:/# apt-get upgrade
Step 2 – Install mysql with the following command.root@mail:/# apt-get install mysql-server mysql-client
Step 3 – You have to enter password for the root user.root@mail:/# apt-get install php5-mysql
Step 6 – Install php5myadmin with the following command.root@mail:/# apt-get install phpmyadmin
Step 7 – Choose web server who you want to use. i strongly recommended apache2 root@mail:/# apt-get install mcrypt php5-mcrypt
Step 15 – Enable mcrypt with the following command:root@mail:/# php5enmod mcrypt
Step 16 – For the changes to take effect you have to restart apache2 service with the following command:root@mail:/# service apache2 restart
Step 17 – The problem was fixed.root@mail:/# apt-get install libssh2-1-dev libssh2-php root@mail:/# sudo php5endmod ssh2
root@mail:/# apt-get install curl libcurl3 libcurl3-dev php5-curl
root@mail:/# service apache2 restart
Comments
Post a Comment