php – 共享Apache 2.0模块与静态Apache模块
发布时间:2020-05-25 09:18:09 所属栏目:PHP 来源:互联网
导读:我从 http://www.php.net/manual/en/configure.about.php发现它 这些是PHP编译的配置选项 --with-apache[=DIR] Build a static Apache module. DIR is the top-level Apache build directory, defaults to /usr/local/apache.
|
我从 http://www.php.net/manual/en/configure.about.php发现它 这些是PHP编译的配置选项 --with-apache[=DIR]
Build a static Apache module. DIR is the top-level Apache build directory,defaults to /usr/local/apache.
--with-apxs2[=FILE]
Build shared Apache 2.0 module. FILE is the optional pathname to the Apache apxs tool; defaults to apxs.
静态和共享的含义是什么? static:PHP模块将被编译为Apache二进制文件本身,并将在每次启动Apache时加载.dynamic:PHP模块将编译为动态共享库,您可以选择是否要加载它. 使用静态模块可能会更快,但是为了删除或更新模块,您必须重新编译整个代码. (编辑:安卓应用网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
