Changeset 677
- Timestamp:
- 03/16/07 01:18:29 (2 years ago)
- Files:
-
- cherokee/trunk/ChangeLog (modified) (1 diff)
- cherokee/trunk/qa/util.py (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
cherokee/trunk/ChangeLog
r675 r677 1 1 2007-03-15 Alvaro Lopez Ortega <alvaro@alobbs.com> 2 3 * qa/util.py (check_php_interpreter): Added a test to check 4 whether the PHP interpreter support fastcgi or not. 2 5 3 6 * configure.in (CRYPT_LIBS): Tries to fix crypt() on MacOS X. cherokee/trunk/qa/util.py
r498 r677 74 74 75 75 76 def check_php_interpreter (fullpath): 77 f = os.popen ("%s -v" % (fullpath)) 78 all = reduce (lambda x,y: x+y, f.readlines()) 79 f.close() 80 return "cgi-fcgi" in all 81 76 82 __php_ref = None 77 83 def look_for_php(): … … 83 89 if PHPCGI_PATH != "auto": 84 90 __php_ref = PHPCGI_PATH 91 if not check_php_interpreter(__php_ref): 92 print "%s doesn't support fcgi" 85 93 return __php_ref 86 94 … … 90 98 if os.path.exists(php): 91 99 __php_ref = php 100 if not check_php_interpreter(__php_ref): 101 print "%s doesn't support fcgi" 92 102 return php 93 103