PDA

View Full Version : browscap problem


UnrealEd
05-05-2006, 09:34 AM
i have this "small" problem when i install browscap for php

i determined the correct path, being "C:/PHP/extras/browscap.ini", but when restarting apache2, it gives an error:
error parsing browscap.ini

does anybody knows what i have to change?

Greetz,
UnrealEd

Jason425
05-05-2006, 12:24 PM
Maybe it's a permissions issue?

UnrealEd
05-07-2006, 09:40 AM
nope, i tried that, but it didn't work.

do i have to place it in my php directory, or in my server root?

Greetz,
UnrealEd

Jason425
05-07-2006, 12:39 PM
It wouldn't hurt to try both and see if one works.

UnrealEd
08-07-2006, 04:24 AM
sorry for not posting back, i've figured it out: i downloaded the wrong version.
i had to download the file browscap_php.ini and then everything was fixed.
sorry for bothering you all

UnrealEd

vee_ess
08-07-2006, 02:07 PM
It's never a bother to ask for or offer help.

Just for future reference, if there is a permissions problem, the Apache error will begin with either "Forbidden" or "You don't have permission to access..." Likewise, if there is a parsing error, that means that it has already opened the file, but it has come across something unknown, which means there is a problem with the file itself.