show all logs in php it can be dangerous , the logs and errors not suppose to show to simple people so use it in right way add these at top of your php file.
delete all .log files you can replace your target directory instead “.” (dot) after “find” on the line , otherwise its use current directory to find and delete
Delete error_log files from all cpanel users its not recomended at all but if u sure what you are goin to do , you can use it find /home/*/public_html -type f -name “error_log” -delete
reset & update all dns zones/records in whm for i in $(cat /etc/trueuserdomains | cut -d: -f1); do whmapi1 resetzone domain=$i; done run this command in ssh/terminal to update all accounts/users records and zones.useful when your server ip/nameservers changed