|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2005-06-22 09:27 UTC] asavchuk at ngs dot ru
[2005-06-22 10:00 UTC] tony2001@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 14:00:01 2025 UTC |
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) }