I am on Redhat 9, through SSH I am trying to run command line PHP networking code. My program uses Sockets but as soon as I code executes below line: PHP: $socket = socket_create(AF_INET, SOCK_RAW, 1); it shows below Error: Warning: socket_create() Unable to create socket : Operation not permitted in abc.php on line 4 Error shows that this Operation not permitted. Can anyone advise why this warning is comming. NOTE: I have tried to run the above code from root SSH and it's running fine. Now can anyone know why it's displaying warning when I run the code from some other user's account. Waiting for reply !