nut*_*nut 6 php linux apache compilation
我是从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.
Run Code Online (Sandbox Code Playgroud)
静态和共享的含义是什么?
mat*_*mat 12
static:PHP模块将被编译为Apache二进制文件本身,并将在每次启动Apache时加载.
dynamic:PHP模块将编译为动态共享库,您可以选择是否要加载它.
使用静态模块可能会更快,但是为了删除或更新模块,您必须重新编译整个代码.
| 归档时间: |
|
| 查看次数: |
4091 次 |
| 最近记录: |