Search
 
SCRIPT & CODE EXAMPLE
 

PHP

php socket connect

 $res = socket_connect($socket, $addr, $port);
Comment

enable socket in php

here are noobs instructions

go to your php installation directory in windows it can be something like this c:xamppphp

the goto ext direction in it phpext

check if your have php_sockets.dll in that directory
after that open php.ini file which will be in your php folder
next search for ;extension=php_sockets.dll
if you find it then remove ; from it

if you not find it then search for extension=

and then below some extension add extension=php_sockets.dll

and finally restart your apache.
Comment

enable socket in php

This answer assumes you do have a php_sockets.dll extension file accessible (in your PHP installation extension directory or where required);

If you're using windows, just uncomment the following line in your php.ini file:

;extension=php_sockets.dll

If you are missing the php_sockets.dll, you can download it from php.net.
Comment

PREVIOUS NEXT
Code Example
Php :: what are the different types of PHP variables? 
Php :: PHP OOP - Inheritance 
Php :: phpmailer send email to multiple addresses 
Php :: PHP substr_replace — Replace text within a portion of a string 
Php :: echo require php 
Php :: artisan new view 
Php :: php console print 
Php :: laravel crud example 
Php :: if user not signed in redirected to login laravel from route 
Php :: laravel throw 503 
Php :: add column migration laravel 8 
Php :: country list laravel 
Php :: ModelNotFoundException 
Php :: string function in php 
Php :: single row data from table in laravel 
Php :: create factory in laravel 8 
Php :: laravel project composer [ErrorException] Undefined index: name 
Php :: remove array values php 
Php :: gate and policy in laravel 
Php :: php variable constant 
Php :: how to run php in javascript 
Php :: notification in laravel 8 
Php :: php array_slice 
Php :: mezzio quick start templating with laminas view 
Php :: link headers disabled wp 
Php :: codeigniter ellipsis in php read more text 
Php :: enableQueryLog 
Php :: Laravel group collection and sort by the biggest value 
Php :: wordpress get post type from url 
Php :: nwidart/laravel-modules seed 
ADD CONTENT
Topic
Content
Source link
Name
2+6 =