This note considers the design of static output feedback mixed <inline-formula xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:xlink="http://www.w3.org/1999/xlink"><tex-math notation="LaTeX">${H}_2/{H}_\infty $</tex-math></inline-formula> controllers for linear control systems with certain equality and inequality constraints imposed directly on the feedback matrix. Based on the barrier method, we solve an auxiliary minimization problem to obtain an approximate solution to the original nonconvex constrained optimization problem. Necessary conditions for the optimal solution of the auxiliary minimization problem are derived using the Lagrange multiplier method. Subsequently, an iterative steepest descent algorithm is developed to find an approximate optimal solution. Finally, an example is provided to validate the proposed approach.