408 results for «cPanel» (page 30 of 41)
-
Error 1045 Access denied for user: the causes, in order
Error 1045 means one thing: the connection reached the database, and the database refused the username and password pair. It is not a server that is down or a closed…
-
Reaching MySQL or PostgreSQL through an SSH tunnel, step by step
The database ports (3306 for MySQL, 5432 for PostgreSQL) are not open from outside. An SSH tunnel solves that: it opens a port on your computer that leads, inside SSH,…
-
Installing PostgreSQL on a VPS
On a VPS running Ubuntu 22.04 LTS, as root, you install PostgreSQL with apt install postgresql postgresql-contrib. The service starts by itself and, by default, listens only on the server…
-
A blank page in PHP: how to see the error
A white page means PHP hit a fatal error and is set not to show it. That is the right setting for a public site, which is why the error…
-
Leaving a hosting provider: how to take everything with you before you cancel
Before you cancel, take five things: the site files, the databases, the e-mail, the list of DNS records, and the list of settings that are not in the files (PHP…
-
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…
-
Which plan for a web application or an API: shared hosting, VPS or Cloud
Start with the simplest and move up only when the application asks for it. An application in Node.js, Python, Ruby or PHP runs on shared hosting, with the version picked…
-
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…
-
Security headers explained: what they do and how to add them in .htaccess
The short answer: security headers are small instructions your site sends the browser with every page (“do not let anyone put me inside another site”, “do not guess the type…
-
A scheduled report by e-mail: a script, a cron job and an SMTP account
To get a summary of the site in your e-mail every morning (the day’s orders, enquiries received, new sign-ups) you need three pieces: a PHP script that fetches the figures…





