Changeset 1125 for trunk/htdocs/diagnosis/index.php
- Timestamp:
- 2012-08-05T05:32:16+02:00 (10 months ago)
- File:
-
- 1 edited
-
trunk/htdocs/diagnosis/index.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/htdocs/diagnosis/index.php
r1103 r1125 386 386 } 387 387 // }}} 388 checking(_T("SAPI Compatibility")); // {{{ 389 390 if (php_sapi_name() == "cgi" || php_sapi_name() == "cgi-fcgi" && !isset($_SERVER["FCGI_ROLE"])) { 391 result(N_("error"), _T("CGI is not supported"), _T("Use FastCGI or FPM instead")); 392 } 393 else if (php_sapi_name() == "cgi-fcgi" && isset($_SERVER["FCGI_ROLE"]) && (int) getenv("PHP_FCGI_CHILDREN") < 1) { 394 result(N_("error") 395 , "PHP_FCGI_CHILDREN<1" 396 , _T("PHP_FCGI_CHILDREN should be >= 1 and use 1 group of parent/childs model. See http://xcache.lighttpd.net/wiki/Faq")); 397 } 398 else { 399 result(N_("info"), _T("Looks good")); 400 } 401 // }}} 388 402 389 403 include "./diagnosis.tpl.php";
Note: See TracChangeset
for help on using the changeset viewer.

