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