I wanted to refer my php files from public_html folder in cpanel's FileManager. For this, i updated all the entries of "DocumentRoot" in httpd.conf file ( /etc/apache2/conf/httpd.conf in CentOS7 ) to /home/user/public_html but after a day it gets updated automatically back to "/var/www/html".
This results in the php files placed under '/var/www/html' only are referred and files in 'public_html' folder in cpanel are not referred.
What is to be done to avoid this auto update ?
This results in the php files placed under '/var/www/html' only are referred and files in 'public_html' folder in cpanel are not referred.
What is to be done to avoid this auto update ?