#11581 [Com]: Call to undefined function: socket() but compiled with --enable-sockets
| From: | site-bukkake1007 at hotmail dot com | Date: | Tue, 20 Jul 2004 15:07:15 +0000 |
| Subject: | #11581 [Com]: Call to undefined function: socket() but compiled with --enable-sockets | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62978@lists.php.net to get a copy of this message | ||
ID: 11581
Comment by: site-bukkake1007 at hotmail dot com
Reported By: lukas dot beeler at projectdream dot org
Status: Bogus
Bug Type: Sockets related
Operating System: Slackware-current / Kernel 2.4.5
PHP Version: 4.0 Latest CVS (2001-06-20)
New Comment:
<a href=http://mega-slow-bukkakeav.da.ru>bukkake
site</a>
Previous Comments:
------------------------------------------------------------------------
[2001-06-20 12:43:38] sniper@php.net
No, you propably got it just right. The problem is,
that in the latest CVS the socket functions are renamed.
Try checking the ext/sockets/php_sockets.h for the correct func names.
There propably won't be 4.0.7 but 4.1.0 next.
------------------------------------------------------------------------
[2001-06-20 09:43:47] lukas dot beeler at projectdream dot org
iam using the latest CVS version of php 4.0.7-devel, just downloaded
and compiled today. i've compiled it with:
Configure Command './configure'
'--with-imap=../../imap-2001.BETA.SNAP-0105220031' '--with-pcntl'
'--with-mysql=/usr/mysql' '--with-zlib-dir' '--with-ftp'
'--with-gd--with-jpeg' '--enable-versioning' '--enable-track-vars=yes'
'--enable-url-includes' '--enable-sysvshm=yes' '--enable-sysvsem=yes'
'--with-config-file-path=/etc' '--enable-sockets' '--with-openssl'
'--with-xpm' '--enable-pcntl'
now my problem is, that if i execute the sample script for the socket()
function, it reports:
<b>Fatal error</b>: Call to undefined function: socket() in
<b>ficken.php</b> on line <b>10</b><br>
Did i configure something wrong, (standard php.ini) or is this really a
bug ?
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=11581&edit=1