note 22686 added to ref.sockets
| From: | php-general at lists dot php dot net | Date: | Wed, 26 Jun 2002 20:47:43 +0000 |
| Subject: | note 22686 added to ref.sockets | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-32240@lists.php.net to get a copy of this message | ||
I get:
Fatal error: Call to undefined function: socket_create()
when calling
$socket = socket_create (AF_INET, SOCK_STREAM, 0);
after compiling php like this on a Linux box:
./configure \
--with-mysql=/usr/local/mysql \
--with-xml \
--with-apache=../apache_1.3.24 \
--enable-track-vars \
--with-dom=/usr/local/libxml \
--with-zlib=/usr/local/zlib \
--with-java \
--enable-sockets
make
make install
cp php.ini-dist /usr/local/lib/php.ini
Does anyone know what could be wrong?
Thanks,
Peder
--
http://www.php.net/manual/en/ref.sockets.php
http://master.php.net/manage/user-notes.php?action=edit+22686
http://master.php.net/manage/user-notes.php?action=delete+22686
http://master.php.net/manage/user-notes.php?action=reject+22686