问题
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