php – iis – The FastCGI process exceeded configured request timeout

HTTP Error 500.0 – Internal Server Error C:\php\php-cgi.exe – The FastCGI process exceeded configured request timeout %windir%\system32\inetsrv\config\applicationHost.config   <fastCgi>    <application fullPath=“C:\php\php-cgi.exe“ maxInstances=“20″ activityTimeout=“300″ requestTimeout=“300″ /> </fastCgi>   Example: <fastCgi>    <application fullPath = „C:\php\php-cgi.exe“ arguments = „“         monitorChangesTo = „“ stderrMode = „ReturnStdErrIn500“ maxInstances = „4“        idleTimeout = „300“ activityTimeout = „30“ requestTimeout =…

php – iis – Nastavení maxAllowedContentLength

Verify the configuration/system.webServer/security/requestFiltering/requestLimits@maxAllowedContentLength setting in the applicationhost.config or web.config file. <?xml version=“1.0″ encoding=“UTF-8″?><configuration>    <system.webServer>        <defaultDocument>            <files>                <add value=“data.aspx“ />            </files>        </defaultDocument>        <directoryBrowse enabled=“true“ />      <security>        <requestFiltering>          <requestLimits maxAllowedContentLength=“4294967295″ />        </requestFiltering>      </security>    </system.webServer>    <system.web>        <identity impersonate=“true“ />    </system.web></configuration>

php – – mktime – Problém s rokem 2038

  Místo mktime() používat DateTime(). $TS = mktime (4, 15, 7, 1, 19, 2038);echo „<li><font color=’red‘>19.1.2038 7:15:04 -> “ . date („d.m.Y – H:i:s“, $TS) . „</font></li>“; $TS = new DateTime(‚2042-12-31 22:33:44‘);echo „<li><font color=’green‘>31.12.2042 22:33:44 -> “ . $TS->format(‚d.m.Y – H:i:s‘) . „</font></li>“; <li><font color=’red‘>19.1.2038 7:15:04 -> 01.01.1970 – 01:00:00</font></li> <li><font color=’green‘>31.12.2042 22:33:44 -> 31.12.2042…