S
S
Sergey Beloventsev2018-08-16 13:03:27
PHP
Sergey Beloventsev, 2018-08-16 13:03:27

What is the problem with installing browscap?

I couldn't install browscap on php7.2 server nginx browscap.org
did the following added to /etc/php/7.2/mod-available file php_browscap.ini
like this put in /etc/php/7.2/fpm/php.ini

[browscap]
; http://php.net/browscap
browscap = /etc/php/7.2/mods-available/php_browscap.ini

even symlink did sudo ln -s /etc/php/7.2/mods-available/php_browscap.ini /etc/php/7.2/fpm/conf.d
but still
get_browser(): browscap ini directive not set

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question