THOSTHelp guides

Web hosting

Change PHP version, php.ini settings and scheduled tasks

Switch a THOST website between PHP 8.3 and 8.4, raise memory and upload limits with custom php.ini settings, and add cron tasks.

Checked against the live THOST dashboard on

Each website chooses its own PHP version. New sites start on PHP 8.4, and PHP security releases are installed automatically.

Steps: change the PHP version

  1. Open the website. In the dashboard choose Websites and open the site.
  2. Open the Settings tab. The PHP version card shows the current version.
  3. Pick a version and press Apply. Choose the newest version your site supports (8.4 or 8.3). It takes effect within a minute.
  4. Check the site. If something breaks, switch back the same way.

Custom php.ini settings

On the same tab the PHP settings (php.ini) card takes one directive per line, for example:

memory_limit = 512M
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 120

Press Save. Typical ones are memory_limit, upload_max_filesize, post_max_size and max_execution_time.

Scheduled tasks (cron)

Also on Settings, Scheduled tasks (cron) runs a URL on a schedule (for example a WordPress or app cron URL). Press Add task, enter a five-field cron schedule (minute hour day month weekday) and the URL to fetch. Example: 0 3 * * * runs at 03:00 every day. Plans have a limit on tasks; the page shows how many you use.

Questions

Which PHP version should I use?

The newest one your site or plugins support: PHP 8.4. Older apps that are not ready for 8.4 can use 8.3.

Where do I see PHP errors?

On the Backups tab, below the backups, the Error log shows the last 50, 200 or 500 lines of PHP and web server errors for the site.

Can I protect a folder with a password?

Yes. Password-protected folders on the Settings tab asks visitors for a username and password before they can open anything in that folder. Use / to protect the whole site.

Did this not solve it? Open a support ticket and tell us which guide you followed. We answer every ticket ourselves.