myphpinfopagei have a lighttpd
server on my embedded system and its running and can show my php code but i cant use sockets because i get an error saying that says
Fatal error: Call to undefined function `socket_create()`;
I recently tried the PHP
code on my PC which is running an apache server
and it works fine but not on my embedded system. I'm using lighttpd
on my embedded system because its light.
I'm already enable extension=php_sockets.dll
in my php.ini
file but the problem still the same and i can't see that --enable-sockets in my phpinfo
configure command.
Does someone have an idea what did i do wrong?
$socket = socket_create(AF_INET, SOCK_STREAM, SOL_TCP);