performance - Why does having an "include" of a file that doesn't exist slow my entire PHP page to a crawl (on IIS 7.5)? -


as example, let's have following in php code @ top of file:

include ($collectiontype."s/collectors_config.php"); 

what i'm noticing if include file doesn't exists, let's @ path bogus/collectors_config.php, execution of php page slows crawl. if exist, page super fast.

i running php 5.4 on iis 7.5 (windows server 2012).

why that? there recursive lookup killing performance looking file isn't there? there setting in php.ini need change?

looking insight here why happening.


Comments

Popular posts from this blog

javascript - DIV "hiding" when changing dropdown value -

Does Firefox offer AppleScript support to get URL of windows? -

android - How to install packaged app on Firefox for mobile? -