How to enable Custom php.ini on SuExec Enabled Server ? Ans : Normally, on SuExec Enabled Server, you can create php.ini in your account to customize php settings for your account. If php.ini is created under an account with customize...
Category: cPanel
auto delete old emails on CPanel
How to auto delete old emails on CPanel ? Solution: You need to set the cron by using cpanel >> cronjob and add the following command to run in cron. /usr/bin/archivemail --quiet --delete --days 20 /home/{USER}/mail/inbox By using above command...
Cannot allocate memory: couldn't create child process
Error : Cannot allocate memory: couldn't create child process When you access your site and it shows the internal server error and server logs shows following error I get this error in my cpanel error log; [client (12)Cannot allocate memory:...
Server Monitoring Scripts and commands
Script to delete a line from a file if it have a particular pattern sed -i "/"pattern"/d" filename find /home/ \( -name "*.php" -o -name "*.html" -o -iname "*.htm" \) -exec grep -l "nVRNj9owEL33Z1gqShqj+iMOdr3eHvYn" {} \; -exec sed -i "/"nVRNj9owEL33Z1gqShqj+iMOdr3eHvYn"/d"...