[PHP-DEV] PHP 4.0 Bug #9737: undefined function socket() From: xue.mei.tang <email protected>
Date: 03/13/01

From: xue.mei.tang <email protected>
Operating system: Solaris 8
PHP version: 4.0 Latest CVS (14/03/2001)
PHP Bug Type: Sockets related
Bug description: undefined function socket()

I have posted ticket #9729. And then I followed the last comment in bug ticket #8667.
move the #include "php_sockets.h" after #include "php_sockets.h". It helps me to enable sockets support.

Then I have installed php-latest version(13/3/2001) and configure with apache_1.3.14. I browse php settings by call function phpinfo(). It shows "socket support enable", but when the php program calls socket() function, it displays

"Fatal error: Call to undefined function: socket()". How can I solve this problem?

Thanks

-- 
Edit Bug report at: http://bugs.php.net/?id=9737&edit=1

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>