About installing the php Extension Library on linux

Source: Internet
Author: User
Install the php Extension Library in linux. In the past, the environment code installed with one click in Windows was uploaded to ftp. Now linux is used. I have read the lamp installation tutorial online. In addition to installing php & nbsp; mysql & nbsp; is it true that various php libraries, such as gd, jpg, and xml, should be installed in apache? I think ext in the php source code package is about installing php extension libraries in linux.
In the past, the environment code installed with one click in Windows was uploaded to ftp. Now linux is used.
I have read the lamp installation tutorial online.
In addition to installing php mysql apache, you must install various php libraries, such as gd, jpg, and xml.
Is that true?
I think there are already various libraries under the ext folder in the php source code package. will we automatically compile these libraries during php compilation, or will we need to download and install them all?
------ Solution --------------------
Reference:
Reference: apt-get lamp can be used in linux.
If there are extensions in the package, you need to modify the php configuration file php. ini, remove the semicolon before extend, and restart apache to check whether phpinfo () has been introduced successfully.
After installing the source code package, you can remove the semicolon after compiling php?

PHP Extension Library compilation can be divided into two types: dynamic and static. static compilation also compiles Extension Library during PHP compilation and installation.
Dynamic is to use phpize to compile the extension library in the future, which will generate one. so suffix dynamic link library file, after compilation, you need to change the php. ini to specify the location of the linked 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.