Changeset 678
- Timestamp:
- 03/16/07 01:36:03 (2 years ago)
- Files:
-
- cherokee/trunk/qa/util.py (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/qa/util.py
r677 r678 88 88 89 89 if PHPCGI_PATH != "auto": 90 __php_ref = PHPCGI_PATH 91 if not check_php_interpreter(__php_ref): 92 print "%s doesn't support fcgi" 93 return __php_ref 90 if check_php_interpreter (PHPCGI_PATH): 91 __php_ref = PHPCGI_PATH 92 return __php_ref 94 93 95 94 for p in PHP_DIRS: … … 97 96 php = os.path.join(p,n) 98 97 if os.path.exists(php): 99 __php_ref = php 100 if not check_php_interpreter(__php_ref): 101 print "%s doesn't support fcgi" 102 return php 98 if check_php_interpreter(php): 99 __php_ref = php 100 return php 103 101 104 print "ERROR: PHP interpreter not found"105 __php_ref = ''102 error = "Couldn't find a suitable PHP interpreter (with fastcgi support)" 103 __php_ref = error 106 104 return __php_ref 107 105