We propose a theoretical model for realizing a photonic two-qubit phase gate in cavity QED using a one-step process. The fidelity and probability of success of the conditional quantum phase gate is very high in the presence of cavity decay. Our scheme only employs one two-level atom, and thus is much simpler than other schemes involving multi-level atoms. This proposal can also be applied to generate two-mode squeezed states; therefore, we give three examples, i.e., the two-mode squeezed vacuum state, two-mode squeezed odd coherent state, and t...