Home > Backend Development > PHP Tutorial > phpize编译动态扩充模块

phpize编译动态扩充模块

WBOY
Release: 2016-06-13 10:54:07
Original
942 people have browsed it

phpize编译动态扩展模块

上周配置服务器,安装php时没有安装memcache,就用phpize编译动态扩展模块

?

#tar zxvf memcache-2.2.5.tgz#cd memcache-2.2.5/#/usr/local/php/bin/phpize//这里有可能会报错,根据报错内容添加相应的库#./configure --with-php-config=/usr/local/php/bin/php-configmake && make install
Copy after login

?

在php.ini中添加对应的模块

?

extension_dir = "/usr/local/php5/lib/php/extensions/no-debug-non-zts-20090626/"extension = "memcache.so"
Copy after login

?

重启服务器? OK~

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template