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 :: php execute command and display output 
Php :: violation: 1071 Specified key was too long; max key length is 1000 bytes 
Php :: php prepared statement upload file 
Php :: laravel eloquent get fillable 
Php :: how to upload large video file in php 
Php :: how to print on console with phpunit 
Php :: filter wordpress 
Php :: Woocommerce get image galleries by product id 
Php :: clear session in laravel 
Php :: laravel redis cache 
Php :: php parse query string 
Php :: php command get ini params 
Php :: laravel scheduler on shared hosting 
Php :: mysqli real escape string 
Php :: two condition in one laravel query 
Php :: get number of days between two dates php 
Php :: php access key stdClass object 
Php :: php display json in browser 
Php :: php integer 
Php :: php extract number from string without comma 
Php :: php while loop 
Php :: how to install apache mysql php on ubuntu 18.04 
Php :: bootstrap is not defined in laravel 
Php :: Best Security tools for php 
Php :: static class methods php 
Php :: laravel PageController.php 
Php :: Laravel - Add conditional where clause in query 
Php :: php and ajax on select option 
Php :: delay queue laravel 
Php :: php buffer 
ADD CONTENT
Topic
Content
Source link
Name
7+6 =