When you run the script, CRONOM crashes. I can not understand where and how to enable this feature for all.
PHP Warning: parse_ini_file() has been disabled for security reasons When you run the script, CRONOM crashes. I can not understand where and how to enable this feature for all.
PHP Warning: parse_ini_file() has been disabled for security reasons The reason is in php.ini . There is a block of prohibited functions ( disable_functions ), and, apparently, parse_ini_file() also indicated there. Just get her out of there.
Example:
disable_functions = fopen, fwrite because running through Cron, you need to edit the php.ini that belongs to php-cli, for example /etc/php/7.2/cli/php.ini
disable_functions = + I suppose that then it would be closed for everyone, and so - it works during normal use of the site, but through cron it does not. Maybe crowns need to run with some rights - Sarkis Allahverdiandisable_functions not registered. Where then still look for the cause, I do not understand - Sarkis AllahverdianThis is a warning, not a mistake! He says: - I warn parse_ini_file () was disabled for security reasons, i.e. contact your hosting provider . https://stackoverflow.com/questions/23336103/parse-ini-file-has-been-disabled-for-security-reasons-alternative/44238738
Source: https://ru.stackoverflow.com/questions/897303/
All Articles
php.inifile and removeparse_ini_filefromdisable_functions- mix