Bug #11581 Updated: Call to undefined function: socket() but compiled with --enable-sockets
| From: | sniper@php.net | Date: | Wed, 20 Jun 2001 16:43:38 +0000 |
| Subject: | Bug #11581 Updated: Call to undefined function: socket() but compiled with --enable-sockets | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-57426@lists.php.net to get a copy of this message | ||
ID: 11581
Updated by: sniper
Reported By: lukas.beeler@projectdream.org
Old-Status: Open
Status: Bogus
Bug Type: Sockets related
Operating system:
PHP Version: 4.0 Latest CVS (2001-06-20)
Assigned To:
Comments:
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.
Previous Comments:
---------------------------------------------------------------------------
[2001-06-20 09:43:47] lukas.beeler@projectdream.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 ?
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=11581&edit=2