php.ini icuuc54.dll,windows上apache配置php5

标签:ini   use   exe   users   udt   rect   php curl   启用   directory

windows上apache配置php5

重点:1、php5里的php.ini的extension_dir要改为绝对目录(带‘/‘斜杠),如果只是写个ext,在apache+mod_php里面是不会加载php扩展的。

2、httpd.conf要指定PHPIniDir "C:/Users/crl6/app2/php5" #你的php安装目录

其他设置:

1、httpd.conf添加

LoadModule php5_module "C:/Users/crl6/app2/php5/php5apache2_4.dll"

AddType application/x-httpd-php .php

DirectoryIndex 改为 DirectoryIndex index.html index.php

如果启用了php curl扩展,但是httpd启动报告缺失dll,则将php目录的ssleay32.dll、libeay32.dll、libssh2.dll、icuuc54.dll、icudt54.dll、icuin54.dll、icuio54.dll放置在apache\bin目录中(和httpd.exe同一目录)

windows上apache配置php5

标签:ini   use   exe   users   udt   rect   php curl   启用   directory

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值