422 results for «cPanel» (page 29 of 43)
-
Giving a developer access to your site without handing over your password
You do not need to give the password of your account to whoever builds your site. There are smaller accesses that are enough for the job, that you can switch…
-
An abandoned plugin or an old PHP version: how to spot the risks on your site
The short answer: most hacked sites were not caught by a clever attack, but by an old part with a known flaw: a plugin its author stopped updating, a forgotten…
-
Running a PHP script from a cron job
In Cron Jobs, in cPanel, the command is the full path of PHP, a space, and the full path of the script: /opt/alt/php82/usr/bin/php /home/YOURACCOUNT/scripts/task.php. Two things ruin most jobs that…
-
Fixing “Allowed memory size exhausted”
The full message reads “Allowed memory size of … bytes exhausted (tried to allocate … bytes)”. It means a single request tried to use more memory than PHP’s memory_limit allows.…
-
File permissions explained: what 755, 644 and 777 mean
The short answer: on an ordinary hosting account, folders should be 755 and files 644. Files holding secrets, such as wp-config.php, can be tighter still (600). And never 777: it…
-
Moving your DNS zone to a new provider and checking it before you switch
Changing nameservers is a switch: the instant the rest of the internet sees it, it starts asking the new provider, and if the zone there is incomplete, whatever is missing…
-
Why a backup is huge or fails, and how to make it smaller
A huge backup is almost never “the site”: it is what has piled up around the site. Cache folders, old copies forgotten in the account, error files that kept growing,…
-
Connecting to MySQL from PHP: mysqli and PDO, with a working example
PHP has two ways of talking to the database: mysqli (MySQL and MariaDB only) and PDO (which also serves PostgreSQL and others). For a new project PDO is the safe…
-
Restoring a single e-mail account or folder
To put deleted messages back, open JetBackup (cPanel, Files section), choose the copy from a date before the deletion and restore only the e-mail folder concerned, not the whole account.…
-
Preparing for a traffic spike: a campaign, a launch or a live event
A traffic spike is not solved on the day: it is solved in the days before. What brings a site down in a campaign is not the total number of…





