Default Socket Timeout Observation

This observation checks if the default_socket_timeout PHP ini setting was reduced from the default value of 60 to a lower setting and otherwise generates a warning.

By default the INI setting default_socket_timeout is an extremely high value 60 seconds. That means that socket/network connections through the PHP file API like fsockopen, file_get_contents and others could be blocking and waiting for up to 60 seconds before they time out.

Still need help? Email [email protected]