In this paper, a linear matrix inequality (LMI) approach without constraints is developed to solve W and P problems, which are related to designing static output feedback (SOF) stabilization controls for linear systems. As an application, the SOF stabilization problem of uncertain systems is considered. Some LMI based sufficient and necessary conditions and design approaches are presented.