ID: 33429
Updated by: [EMAIL PROTECTED]
Reported By: asavchuk at ngs dot ru
-Status: Closed
+Status: Bogus
Bug Type: POSIX related
Operating System: suse 9.3
PHP Version: 5.0.3
New Comment:
no bug -> bogus.
Previous Comments:
------------------------------------------------------------------------
[2005-06-22 09:27:29] asavchuk at ngs dot ru
sorry, i forget to install php5-posix :(
after installing this package all is work.
/closed/
------------------------------------------------------------------------
[2005-06-22 09:07:24] asavchuk at ngs dot ru
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 this bug report at http://bugs.php.net/?id=33429&edit=1