My php.in file:

browscap = extra/browscap.ini

I downloaded the browscap file and created a directory under public_html called extra. I put the browscap file in this extra directory. I set my php.ini to point to the file as shown above. But I get the error when using get_browser:

Warning: get_browser(): browscap ini directive not set. in
/home/usr/public_html/winnipegindex/pegdex.php on line 11

I have tried every possible path including the full path
/home/usr/public_html/extra/browscap.ini but I keep getting the same error.

Any ideas
Thanks

    Originally posted by Installer
    Did you restart the server?

    I cant restart the server as my ISP controls the server. Must the server be restarted?

      Originally posted by carole2
      Must the server be restarted?

      the php.ini file is read when PHP is initialised. This happens at startup.

        Write a Reply...