Home > Backend Development > PHP Tutorial > php 安装扩展

php 安装扩展

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-23 13:51:55
Original
977 people have browsed it

一些扩展文件在php的源码包中是已经存在的,如果需要的话可以直接用源码包中的扩展进行安装

这些扩展文件在

源码包中的 位置(视情况而定):

/usr/local/src/php-5.5.11/ext

例如:openssl

进入相应的目录:#cd /usr/local/src/php-5.5.11/ext/openssl

php的安装目录:/usr/loca/php

运行:#/usr/loca/php/bin/phpize

#./configure --with-openssl --with-php-config=/usr/local/php/bin/php-config

#make

#make install


在php.ini中添加extension=openssl.so扩展,----ok!!!!

Related labels:
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