As my question states, I can’t figure out why, but while using WebMatrix to do PHP development, I get a 500 Error page whenever I try to run the following code:
socket_create(AF_INET, SOCK_DGRAM, SOL_UDP)
Any ideas why, or how to fix?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
For anyone that has this problem in future, you need to ensure that the php_sockets.dll extension is installed in your php.ini directory. Just add another line under the extentions title with the correct dll.
Thanks!