From: asavchuk at ngs dot ru Operating system: suse 9.3 PHP version: 5.0.3 PHP Bug Type: POSIX related Bug description: Fatal error: Call to undefined function posix_getgrgid()
Description: ------------ install clean suse 9.3 with apache2, and php5: # php5 -v PHP 5.0.3 (cgi) (built: Mar 22 2005 20:12:51) Copyright (c) 1997-2004 The PHP Group Zend Engine v2.0.3, Copyright (c) 1998-2004 Zend Technologies '../configure' '--prefix=/usr' '--datadir=/usr/share/php5' '--mandir=/usr/share/man' '--bindir=/usr/bin' '--libdir=/usr/lib' '--includedir=/usr/include' '--with-_lib=lib' '--sysconfdir=/etc/php5/apache2' '--with-config-file-path=/etc/php5/apache2' '--with-config-file-scan-dir=/etc/php5/conf.d' '--with-exec-dir=/usr/lib/php5/bin' '--enable-magic-quotes' '--enable-libxml' '--enable-session' '--with-pcre-regex' '--enable-xml' '--enable-simplexml' '--enable-spl' '--enable-safe-mode' '--enable-sigchild' '--disable-debug' '--enable-memory-limit' '--enable-inline-optimization' '--with-apxs2=/usr/sbin/apxs2' '--disable-all' when try to use function posix_getgrgid in simple php script posix.php # php5 -e -f /posix.php see fatal error: Fatal error: Call to undefined function posix_getgrgid() in /terrra/posix.php on line 3 Reproduce code: --------------- code of simple php script posix.php: <?PHP $a = posix_getgrgid(0); var_dump($a); ?> Expected result: ---------------- think i should see something as: # php -e -f /posix.php array(4) { ["name"]=> string(4) "root" ["passwd"]=> string(1) "x" ["members"]=> array(1) { [0]=> string(4) "root" } ["gid"]=> int(0) } -- Edit bug report at http://bugs.php.net/?id=33429&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=33429&r=trysnapshot4 Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=33429&r=trysnapshot50 Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=33429&r=trysnapshot51 Fixed in CVS: http://bugs.php.net/fix.php?id=33429&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=33429&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=33429&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=33429&r=needscript Try newer version: http://bugs.php.net/fix.php?id=33429&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=33429&r=support Expected behavior: http://bugs.php.net/fix.php?id=33429&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=33429&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=33429&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=33429&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=33429&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=33429&r=dst IIS Stability: http://bugs.php.net/fix.php?id=33429&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=33429&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=33429&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=33429&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=33429&r=mysqlcfg