亚洲国产日韩欧美一区二区三区,精品亚洲国产成人av在线,国产99视频精品免视看7,99国产精品久久久久久久成人热,欧美日韩亚洲国产综合乱

mysql - What is the difference between enable and with when compiling php ./configure command
曾經(jīng)蠟筆沒有小新
曾經(jīng)蠟筆沒有小新 2017-05-16 13:09:27
0
2
645
./configure --enable-curl

./configure --with-curl

1.What is the difference between enable and with parameter commands?

2. How to compile the extension into php instead of existing in the form of .so dynamic extension?

Update

3. Which extensions are officially supported by PHP? Are the ones in the ext directory of the PHP source code package officially supported by PHP? Can it be compiled into php?

4. What command is used to compile officially supported extensions into php?

曾經(jīng)蠟筆沒有小新
曾經(jīng)蠟筆沒有小新

reply all(2)
某草草
  1. enable is to enable extensions that come with the PHP source code package but are not enabled by default, such as ftp and exif extensions. with specifies the location of the resource library that the extension depends on. If it is the default location, it can be left blank.

  2. php extensions are divided into two types: static compilation and dynamic compilation. Static compilation is compiled and installed along with the source code of PHP, that is, extensions enabled by --enable and --with. Dynamic compilation is a way to use the phpize command to add extensions to PHP in an already usable PHP environment. This method is the generated so file. So if you want to compile the extension into the php kernel, you need to compile and install it together with php.

  3. Yes, the extensions in the ext directory of the PHP source code package are officially supported by default, and some are extensions in the pecl library. Some extensions of pecl are also officially supported, and some are supported by third-party developers.

  4. Compile and install the extension together with php, which is the configure command

Ty80

The first question: enable and with are both options during compilation, and enable is more often about enabling an extension http://php.net/manual/en/conf...

Second question: Extensions officially supported by PHP can be compiled into PHP when compiling the source code, while third-party extensions must be introduced in the form of so

Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template