|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2004-07-25 16:03 UTC] gschlossnagle@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 09:00:01 2025 UTC |
Description: ------------ Short example below will cause complete exhaustion. Seems to cause loop of some sort. <?php $server_name = ("http://" . $_SERVER['SERVER_NAME']); print_r(get_headers($server_name,true)); ?> from apache error log [Sat Jul 24 22:21:15 2004] [error] server reached MaxClients setting, consider raising the MaxClients setting Reproduce code: --------------- <?php $server_name = ("http://" . $_SERVER['SERVER_NAME']); print_r(get_headers($server_name)); ?> Expected result: ---------------- I expect to see what the documentation says I should see. But in the example code the $url is being provided to the get_headers function as a predefined string. Actual result: -------------- [Sat Jul 24 22:21:15 2004] [error] server reached MaxClients setting, consider raising the MaxClients setting