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.

3.63
8
Manish 85 points

                                    here are noobs instructions

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

the goto ext direction in it php\ext\

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.

3.63 (8 Votes)
0
Are there any code examples left?
Made with love
This website uses cookies to make IQCode work for you. By using this site, you agree to our cookie policy

Welcome Back!

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign in
Recover lost password
Or log in with

Create a Free Account

Sign up to unlock all of IQCode features:
  • Test your skills and track progress
  • Engage in comprehensive interactive courses
  • Commit to daily skill-enhancing challenges
  • Solve practical, real-world issues
  • Share your insights and learnings
Create an account
Sign up
Or sign up with
By signing up, you agree to the Terms and Conditions and Privacy Policy. You also agree to receive product-related marketing emails from IQCode, which you can unsubscribe from at any time.
Creating a new code example
Code snippet title
Source