422 results for «cPanel» (page 28 of 43)
-
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…
-
Moving a database to another account or server
Export the database from the source, create an empty database and user at the destination, import the file and point the application at the new connection details. What always changes…
-
Hotlink protection: stop others using your bandwidth
Hotlinking is when another website displays an image of yours straight from your server, instead of keeping a copy on theirs. To their visitor it looks like an ordinary image;…
-
A cron job that does not run or sends no output: a checklist
Most of the time the cron job does run, and fails for one of six reasons: an incomplete path, an unprotected % sign, the wrong PHP version, a script without…
-
I deleted a file or folder by mistake: how to get it back from a backup
If you deleted a file or a folder, getting it back is almost always quick and does not need a restore of the whole account. First look in the File…
-
Password protecting a folder with Directory Privacy
To make sure only people with a username and password can open a folder of the site (a private area, a test site, a folder of files for a customer),…
-
Hosting words for beginners: the terms on your invoice and in your panel
The first invoice and the first panel come full of abbreviations nobody explained. You do not need to memorise them: you need to know enough to understand what you are…
-
PHP sessions: where they live, and why users get logged out
A PHP session is a small file on the server, tied to the visitor by a cookie (the PHPSESSID). That is where the application keeps who is logged in, what…
-
Automatic daily backup or your own copy: which one saves you, and when
Short answer: they are not alternatives, they cover different problems. The automatic daily backup handles most everyday disasters (a deleted file, a plugin that broke the site). Your own copy,…
-
SQLite or MySQL: which one fits a small project
The short answer: SQLite fits a small application with few users writing at the same time and nobody from outside needing the database. MySQL (here, MariaDB) fits anything that is…





