[UBUNTU/DEEPIN_15] Compiling and installing PHP dependent libraries

Source: Internet
Author: User

Compiling the environment

sudo apt-get-y install build-essential

Xml

sudo apt-get-y install Libxml2-dev

Pcre

sudo apt-get-y install Libpcre3-dev

Jpeg

sudo apt-get-y install Libjpeg62-dev

FreeType

sudo apt-get-y install Libfreetype6-dev

Png

sudo apt-get-y install Libpng12-dev libpng3 Libpnglite-dev

Iconv

sudo apt-get-y install Libiconv-hook-dev Libiconv-hook1

Mycrypt

sudo apt-get-y install Libmcrypt-dev libmcrypt4

Mhash

sudo apt-get-y install Libmhash-dev libmhash2

Openssl

sudo apt-get-y install Libltdl-dev Libssl-dev

Curl

sudo apt-get-y install Libcurl4-openssl-dev

Mysql

sudo apt-get-y install Libmysqlclient-dev

Imagick

sudo apt-get-y install Libmagickcore-dev Libmagickwand-dev

Ubuntu can't find Iconv

sudo ln-s/usr/lib/libiconv_hook.so.1.0.0/usr/lib/libiconv.sosudo ln-s/usr/lib/libiconv_hook.so.1.0.0/usr/lib/ Libiconv.so.1

Installing PHP Extensions

sudo apt-get-y install autoconf automake M4

[UBUNTU/DEEPIN_15] Compiling and installing PHP dependent libraries

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.