Installing PHP and MySQL on Debian

Using dotbeb’s repository add the following to your /etc/apt/sources.list

deb-src http://packages.dotdeb.org stable all

After which you must run

apt-get update

Finally, install PHP and MySQL:

apt-get install php5-cgi php5-mysql php5-curl php5-gd php5-idn php-pear php5-imagick php5-imap php5-mcrypt php5-memcache  php5-mhash php5-ming php5-pspell php5-recode php5-snmp php5-sqlite php5-tidy php5-xmlrpc mysql-server mysql-client nginx

Advertisements