I'm trying to use the PHP browscap module.
I made the following addition via MultiPHP INI Editor.
[browscap]
browscap = "/browscap.ini"
I'm putting the file in the top directory on the server. It works on my sites however. Fails on cron-executed php files.
[13-Apr-2022 23:46:01] PHP Fatal error: Unable to start standard module in Unknown on line 0
[13-Apr-2022 23:47:01] PHP Warning: Cannot open "/browscap.ini" for reading in Unknown on line 0
Coming to my question, in which directory exactly should this "browscap.ini" file be? So in which directory is it being searched?
SYSTEM INFO
cpanel_and_whm: 11.100.0
operating_system_name: centos
operating_system_version: 7
I made the following addition via MultiPHP INI Editor.
[browscap]
browscap = "/browscap.ini"
I'm putting the file in the top directory on the server. It works on my sites however. Fails on cron-executed php files.
[13-Apr-2022 23:46:01] PHP Fatal error: Unable to start standard module in Unknown on line 0
[13-Apr-2022 23:47:01] PHP Warning: Cannot open "/browscap.ini" for reading in Unknown on line 0
Coming to my question, in which directory exactly should this "browscap.ini" file be? So in which directory is it being searched?
SYSTEM INFO
cpanel_and_whm: 11.100.0
operating_system_name: centos
operating_system_version: 7
Last edited by a moderator: