422 results for «cPanel» (page 27 of 43)
-
WP-CLI over SSH: updating and fixing WordPress from the command line
The short answer: WP-CLI is WordPress on the command line. Instead of opening the dashboard and clicking, you type wp plugin update --all and it is done. On our hosting…
-
Importing a database with phpMyAdmin, and the size limit that stops you
Create an empty database, open it in phpMyAdmin, go to the Import tab, choose the file (.sql, .zip or .gz) and click Import (or Go). If the file is bigger…
-
Environment variables and secrets for your application
An environment variable is a value the application reads from outside the code: the database password, an API key, the address of a service. You keep it out of the…
-
Looking inside an old backup without restoring over the live site
To look at an old copy without touching the live site, use JetBackup’s Download instead of Restore: the copy is prepared for you to download, you open it on your…
-
Copying mailboxes with imapsync: how it works and what to prepare
imapsync is a command-line tool that connects to two IMAP mailboxes, the source and the destination, and copies messages folder by folder, skipping those already there. That is why you…
-
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…
-
php -v in SSH shows another version than your site: running the PHP you chose
The php command you type in the Terminal or over SSH is not required to be the version you chose for the site. The site uses what you set in…
-
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…
-
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…
-
npm, yarn or pnpm: which to use, and why you keep only one lockfile
npm, yarn and pnpm do the same job: they install the libraries your project needs. The short answer: use the package manager the project was created with, and only that…





