In any case, there are multiple ways of finding the php.ini file in WordPress. Follow the steps below if you have WordPress installed on a live server and have access to the cPanel:
Don’t forget that the root directory is in the public_html folder. Simply click on it from the left-hand side menu.
Last updated Apr 19, 2022
Applies to: Other