How to access the php.ini from my CPanel?

Basel picture Basel · Aug 28, 2013 · Viewed 105.5k times · Source

I want to change the limit of the php POST array from 1000 to 6000 . Is there any way to do that ? i search about that and i found that i should change some variables in php.ini but the problem is that i did not find the directory of the file in my cpanel :

Your server's php.ini file is located at /usr/local/lib/php.ini.

This line is from the CPanel documentation but i could not find this directory in my cpanel even after i show the hidden files???? can anybody help me locating this file?

Answer

Fosco Clayhangzo picture Fosco Clayhangzo · Dec 10, 2016

Cpanel 60.0.26 (Latest Version) Php.ini moved under Software > Select PHP Version > Switch to Php Options > Change Value > save.