posix_getgroups()

Status
Not open for further replies.

themcman1

New Member
Messages
50
Reaction score
0
Points
0
From what the server logs show me, this function is blacklisted. Will upgrading to advanced PHP fix this? AFAIK this is an area of phpBB 3.0.3 untouched by my excessive modding.

Below is the code where the error is thrown:
PHP:
// And the owner and the groups PHP is running under.
$php_uid = (function_exists('posix_getuid')) ? @posix_getuid() : false;
$php_gids = (function_exists('posix_getgroups')) ? @posix_getgroups() : false;
 

Christopher

Retired
Messages
14,659
Reaction score
8
Points
0
Change
$php_gids = (function_exists('posix_getgroups')) ? @posix_getgroups() : false;
to
$php_gids = false;
 

themcman1

New Member
Messages
50
Reaction score
0
Points
0
Thanks.

I will try this as soon as my account works properly again after Lotus is fully transferred.

EDIT: Made the change it all works now. The server is a bit slow to respond and I can't connect via FTP at the moment, btw.

*Thread Closed*
 
Last edited:
Status
Not open for further replies.
Top