Home > Backend Development > PHP Tutorial > 在Linux下,如何用添加配置文件的方式给PHP加拓展?

在Linux下,如何用添加配置文件的方式给PHP加拓展?

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:08:41
Original
1060 people have browsed it

PHP中有两种(我目前知道的)加拓展的方式。
第一种加拓展的方式是在php.ini直接引入拓展文件(例如redis.so)

第二种是引入拓展配置文件(例如redis.ini),然后在拓展配置文件中引入具体拓展(redis.ini中写出extension=redis.ini)

第二种如何实现呢?

回复内容:

PHP中有两种(我目前知道的)加拓展的方式。
第一种加拓展的方式是在php.ini直接引入拓展文件(例如redis.so)

第二种是引入拓展配置文件(例如redis.ini),然后在拓展配置文件中引入具体拓展(redis.ini中写出extension=redis.ini)

第二种如何实现呢?

.......

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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template