the posix_getsid() function exist for a long time and is not recognised by intelliphp with either php 7.X or 8.X code.
it should be added as it is a basic php function call to interact with tasks.
the exact error message is:
(Warning sign) Call to unknown function: 'posix_getsid' (PHP0417)
the posix_getsid() function exist for a long time and is not recognised by intelliphp with either php 7.X or 8.X code. it should be added as it is a basic php function call to interact with tasks.
the exact error message is:
used in my section of code:
if (file_exists($pid_file)) { if (@posix_getsid(trim(file_get_contents($pid_file)))) $return['state'] = 'ok'; else shell_exec(system::getCmdSudo() . 'rm -rf ' . $pid_file . ' 2>&1 > /dev/null'); }