开发者

Installing browsercap.ini

开发者 https://www.devze.com 2023-02-08 23:33 出处:网络
I\'m on Hostmonster running Linux and I want to install the browsercap.ini on my server which I have installed on the main public_html directory with the file name as php_browsercap.ini and I have set

I'm on Hostmonster running Linux and I want to install the browsercap.ini on my server which I have installed on the main public_html directory with the file name as php_browsercap.ini and I have set it into my original php.ini here:

[browscap]
; http://php.net/browscap
browscap = php_browscap.ini

However it doesn't work when I work with get_browser开发者_C百科() since I get:

Warning: get_browser() [function.get-browser]: browscap ini directive not set

This is my phpinfo() for what I get with browsercap


you should specify absolute path to browscap.ini in your PHP INI

0

精彩评论

暂无评论...
验证码 换一张
取 消