FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » Imported messages » comp.lang.php » Posix functions
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Posix functions [message #181001] Thu, 04 April 2013 19:26 Go to previous message
Mladen Gogala is currently offline  Mladen Gogala
Messages: 13
Registered: December 2010
Karma:
Junior Member
Are posix_* functions obsolete in PHP 5.4?

I'm getting the following error on Fedora 18 (x86_64, plain vanilla RPM,
from the repository):

[Thu Apr 04 15:18:43.364816 2013] [:error] [pid 30820] [client
192.168.1.100:45905] PHP Fatal error: Call to undefined function
posix_getlogin() in /misc/doc/test.php on line 2
Posix was included in the original configuration as shown by php-config:
[root@medo logs]# php-config
Usage: /bin/php-config [OPTION]
Options:
--prefix [/usr]
--includes [-I/usr/include/php -I/usr/include/php/main -I/usr/
include/php/TSRM -I/usr/include/php/Zend -I/usr/include/php/ext -I/usr/
include/php/ext/date/lib]
--ldflags []
--libs [-lcrypt -lresolv -lcrypt -ledit -lncurses -lstdc+
+ -lgmp -lbz2 -lz -lpcre -lrt -lm -ldl -lnsl -lxml2 -lz -lm -ldl -
lgssapi_krb5 -lkrb5 -lk5crypto -lcom_err -lssl -lcrypto -lssl -lcrypto -
lxml2 -lz -lm -ldl -lcrypt -lxml2 -lz -lm -ldl -lcrypt ]
--extension-dir [/usr/lib64/php/modules]
--include-dir [/usr/include/php]
--man-dir [/usr/share/man]
--php-binary [/usr/bin/php]
--php-sapis [ cli cgi]
--configure-options [--build=x86_64-redhat-linux-gnu --host=x86_64-
redhat-linux-gnu --program-prefix= --disable-dependency-tracking --
prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --
sysconfdir=/etc --datadir=/usr/share --includedir=/usr/include --libdir=/
usr/lib64 --libexecdir=/usr/libexec --localstatedir=/var --
sharedstatedir=/var/lib --mandir=/usr/share/man --infodir=/usr/share/info
--cache-file=../config.cache --with-libdir=lib64 --with-config-file-path=/
etc --with-config-file-scan-dir=/etc/php.d --disable-debug --with-pic --
disable-rpath --without-pear --with-bz2 --with-exec-dir=/usr/bin --with-
freetype-dir=/usr --with-png-dir=/usr --with-xpm-dir=/usr --enable-gd-
native-ttf --with-t1lib=/usr --without-gdbm --with-gettext --with-gmp --
with-iconv --with-jpeg-dir=/usr --with-openssl --with-pcre-regex=/usr --
with-zlib --with-layout=GNU --enable-exif --enable-ftp --enable-magic-
quotes --enable-sockets --with-kerberos --enable-ucd-snmp-hack --enable-
shmop --enable-calendar --with-libxml-dir=/usr --enable-xml --with-system-
tzdata --with-mhash --enable-force-cgi-redirect --libdir=/usr/lib64/php --
enable-pcntl --with-imap=shared --with-imap-ssl --enable-mbstring=shared
--enable-mbregex --with-gd=shared --enable-bcmath=shared --enable-
dba=shared --with-db4=/usr --with-tcadb=/usr --with-xmlrpc=shared --with-
ldap=shared --with-ldap-sasl --enable-mysqlnd=shared --with-
mysql=shared,mysqlnd --with-mysqli=shared,mysqlnd --with-mysql-sock=/var/
lib/mysql/mysql.sock --with-interbase=shared,/usr/lib64/firebird --with-
pdo-firebird=shared,/usr/lib64/firebird --enable-dom=shared --with-
pgsql=shared --enable-wddx=shared --with-snmp=shared,/usr --enable-
soap=shared --with-xsl=shared,/usr --enable-xmlreader=shared --enable-
xmlwriter=shared --with-curl=shared,/usr --enable-fastcgi --enable-
pdo=shared --with-pdo-odbc=shared,unixODBC,/usr --with-pdo-
mysql=shared,mysqlnd --with-pdo-pgsql=shared,/usr --with-pdo-
sqlite=shared,/usr --with-pdo-dblib=shared,/usr --with-sqlite3=shared,/usr
--enable-json=shared --enable-zip=shared --with-libzip --without-readline
--with-libedit --with-pspell=shared --enable-phar=shared --with-
mcrypt=shared,/usr --with-tidy=shared,/usr --with-mssql=shared,/usr --
enable-sysvmsg=shared --enable-sysvshm=shared --enable-sysvsem=shared --
enable-posix=shared --with-unixODBC=shared,/usr --enable-fileinfo=shared
--enable-intl=shared --with-icu-dir=/usr --with-enchant=shared,/usr --
with-recode=shared,/usr]
--version [5.4.13]
--vernum [50413]
[root@medo logs]#

Why are posix_* functions not accessible?

--
Mladen Gogala
The Oracle Whisperer
http://mgogala.byethost5.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Java conferences in India...
Next Topic: C,C++ EMBEDDED SYSTEM, DSP CONSULTANT AVAILABLE
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Wed Nov 27 20:07:52 GMT 2024

Total time taken to generate the page: 0.06013 seconds