Ancient Temple City

Setting up browscap.ini in PHP Config File php.ini

You are to use the Full PATH and restart your server when you are done

On Windows

1. Find the php.ini file in the PHP installed directory
2. Place the lite_php_browscap.ini file (recommended for web servers) in the directory where php.ini file is found
3. Now add the following lines in the php.ini config file

[browscap]
; http://php.net/browscap
browscap = "C:\Program Files (x86)\PHP\lite_php_browscap.ini"


On Linux server

1. If you are using linux server or cpanel hosting service, find the php.ini file in the home directory
2. Place the lite_php_browscap.ini file (recommended for web servers) in the directory where php.ini file is found (or) some other folder you want to kept it.
3. Now add the following lines in the php.ini config file

i) if you place the lite_php_browscap.ini in the path "home/etc/"

[browscap]
; http://php.net/browscap
browscap = "/home/xxxxxx/etc/php_browscap.ini"

ii) if you place the lite_php_browscap.ini in the path "home/" where php.ini file is placed

[browscap]
; http://php.net/browscap
browscap = "/home/xxxxxx/lite_php_browscap.ini"


On Mac - use like that

[browscap]
; http://php.net/browscap
browscap = "/usr/local/etc/lite_php_browscap.ini"


Note: Please download the browscap.ini from https://browscap.org/ based on your needs.
Labels:
Reactions:

Post a Comment

[blogger]

MKRdezign

{facebook#http://www.facebook.com/GTVCreations} {twitter#http://www.twitter.com/GTVCreations} {google-plus#http://www.google.com} {pinterest#http://www.pinterest.com} {youtube#http://www.youtube.com} {instagram#http://www.instagram.com}

Contact Form

Name

Email *

Message *

Powered by Blogger.
Javascript DisablePlease Enable Javascript To See All Widget