network-service:configphpmodule
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
network-service:configphpmodule [2010/04/01 17:32] – created percy | network-service:configphpmodule [2016/05/05 13:07] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | 由于某些需要,需要启用mcrypt, | ||
+ | |||
+ | 安装mcrypt | ||
+ | apt-get install php5-mcrypt | ||
+ | 虽然安装了,但不知道怎么用它。 | ||
+ | |||
+ | 后来搜到:http:// | ||
+ | |||
+ | 受它的启发, 在下面找到了几个常用模块 | ||
+ | ls / | ||
+ | | ||
+ | 再编辑php.ini配置文件: | ||
+ | vim / | ||
+ | 在文件末尾加上下面这几行: | ||
+ | < | ||
+ | extension_dir="/ | ||
+ | extension=zlib.so | ||
+ | extension=mcrypt.so | ||
+ | extension=curl.so | ||
+ | </ | ||
+ | |||
+ | 重新reload apache | ||
+ | / | ||
+ | |||
+ | 这个网址可以正常访问:https:// |