In this paper, mechanical buckling analysis of a functionally graded (FG) elliptical plate, which is made up of saturated porous materials and is resting on two parameters elastic foundation, is investigated. The plate is subjected to in-plane force and mechanical properties of the plate assumed to be varied through the thickness of it according to three different functions, which are called porosity distributions. Since it is assumed that the plate to be thick, the higher order shear deformation theory (HSDT) is employed to analyze the plate. Using the total potential energy function and using the Ritz method, the critical buckling load of the plate is obtained and the results are verified with the simpler states in the literature. The effect of different parameters, such as different models of porosity distribution, porosity variations, pores compressibility variations, boundary conditions, and aspect ratio of the plate, is considered and has been discussed in details. It is seen that increasing the porosity coefficient decreases the stiffness of the plate and consequently the critical buckling load will be reduced. Also, by increasing the pores' compressibility, the critical buckling load will be increased. Adding the elastic foundation to the structure will increase the critical buckling load. The results of this study can be used to design more efficient structures in the future.