Added version check 

Added version check, php and sqlite,