how to fix browscap.ini error on my web server

自作多情 提交于 2020-04-07 09:11:29

问题


I use php to build my web page which i upload to my web server. On visit my page this error message display on my webpage that is on my web server but does not display on my wamp serve(my localhost) it work well.

Cannot open '/home2/codeplac/public_html/browscap.ini' for reading

how can i fix this issue and what exactly do I need to do on my web server thanks


回答1:


It is a file that allows you to better recognize which browser is used by the client. Download from the project website: https://browscap.org

I downloaded the PHP versions, copied them to the directory and renamed the link in php.ini because the downloaded file had a name extension.

After restarting Apache the error message was gone.


I have specified the complete path, incl. drive.



来源:https://stackoverflow.com/questions/34753128/how-to-fix-browscap-ini-error-on-my-web-server

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!