I have a hosted website with cPanel. I want to modify php.ini
, but I don't get where that file is on server. I tried to find the location of the file using phpinfo()
and I got the location as /usr/local/lib/php.ini
but when I search in file manager I'm unable to find this location.
I looked at https://stackoverflow.com/a/3401536/1989696 and followed the same steps, but I'm not sure how to tell if the webserver supports SSH or SFTP access.
Also, how can I locate the php.ini
file?