Warning: stream_socket_server() has been disabled for security reasons

来源:互联网 发布:js classname事件 编辑:程序博客网 时间:2024/05/17 21:06

Function stream_socket_server is disabled. What to do?

I see the "Warning: stream_socket_server() has been disabled for security reasons" message on my site. What should I do? How can I fix this?

Solution for the "stream_socket_server disabled" issue

In order to eliminate this error message you need to do ONE of the following things:

  • Remove the stream_socket_server string from the disable_functions atphp.ini* file
  • Ask your hosting provider to remove the string above if you don't have an access to thephp.ini* file
  • Change hosting provider which allows the running of the stream_socket_server function.

http://www.2by2host.com/articles/php-errors-faq/disabled_stream_socket_server/

原创粉丝点击