php 安装 zip iis,PHP: 安装 - Manual

安装

此 » PECL 扩展未与

PHP 捆绑。

安装此 PECL 扩展相关的信息可在手册中标题为

PECL

扩展的安装章节中找到。更多信息如新的发行版本、下载、源文件、

维护人员信息及变更日志等,都在此处:

» https://pecl.php.net/package/wincache.

There are two packages for this extension: one package is for PHP versions 5.2.X,

and the other package is for PHP 5.3.X. Select the package that is appropriate for

the PHP version being used.

To install and enable the extension, follow these steps:

Unpack the package into some temporary location.

Copy the php_wincache.dll file into the PHP extensions folder.

Typically this folder is called "ext" and it is located in the same folder with all

PHP binary files. For example: C:\Program Files\PHP\ext.

Using a text editor, open the php.ini file, which is usually located in the

same folder where all PHP binary files are. For example:

C:\Program Files\PHP\php.ini.

Add the following line at the end of the php.ini file:

extension = php_wincache.dll.

Save and close the php.ini file.

Recycle the IIS Application Pools for PHP to pick up the configuration changes.

To check that the extension has been enabled, create a file called

phpinfo.php with a PHP code that calls

phpinfo function.

Save the phpinfo.php file in the root folder of a

IIS web site that uses PHP, then open a browser and make a request to

http://localhost/phpinfo.php. Search within the returned web page

for a section called wincache. If the extension

is enabled, then the phpinfo

output will list the configuration settings provided by the WinCache.

注意:

Do not forget to remove phpinfo.php file from the web

site's root folder after verifying that extension has been enabled.

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值