By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
429,471 Members | 722 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 429,471 IT Pros & Developers. It's quick & easy.

Call to undefined function socket_create()

P: n/a
Using: Win2003 - IIS6 - PHP5.0

I'm executing a third party script and get this error message:
Fatal error: Call to undefined function socket_create() in C:\Inetpub\XXX on
line 195

After some googleing, I think it is because sockets aren't enabled. I've
opened php.ini and uncommented the line
extension=php_sockets.dll
and restarted the world wide web publishing service, but I still get the
same error message. No clue what to do from here. Does anyone have any
suggestions?

Thanks,

Jack
Nov 23 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Jack Lindamood wrote:
After some googleing, I think it is because sockets aren't enabled. I've
opened php.ini and uncommented the line
extension=php_sockets.dll
and restarted the world wide web publishing service, but I still get the
same error message. No clue what to do from here. Does anyone have any
suggestions?


Did you set your extension_dir to the right location in php.ini?
The php_sockets.dll needs to be in that directory so the webserver can
load it.

HTH.
Peter.

--
http://www.phpforums.nl
Nov 23 '05 #2

P: n/a
and remember to restart server

Nov 23 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.