about installing the PHP extension library on Linux

Source: Internet
Author: User
Tags php mysql
about installing the PHP extension library under Linux.
It used to be uploaded to FTP in the environment code of the Next button installation of window, and now it uses Linux.
Watch the installation of lamp on the internet.
All except to install PHP MySQL Apache to install a variety of PHP libraries such as GD library, JPG, XML and so on
Is that the way it is?
I see PHP source package in the Ext folder already have a variety of libraries, we compile PHP will not automatically compile these libraries, or to each download installation?
------Solution--------------------
References:
reference: Under Linux you can apt-get lamp.
If the package already has an extension, you will need to modify the PHP config file php.ini, remove the semicolon in front of the extend, and restart Apache to see if Phpinfo () was introduced successfully.
Source package installation is also compiled after PHP to remove the semicolon on it?

PHP extension Library compiled into dynamic and static two, static is to compile and install PHP when the extension library is compiled
Dynamic is in the future through the phpize to separate the extension library, which will generate a. So suffix of the dynamic link library file, after compiling also need you to change the php.ini to specify the location of the link library
  • 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.