FastPanel: PHP version and settings
In the examples 203.0.113.10 is your server address and my-site.com is your domain. The panel address, login and password are in the VPS activation e-mail.
PHP modes
| Mode | When to choose |
|---|---|
| Apache module | One system PHP version. .htaccess works. |
| FastCGI | Any PHP version. .htaccess works. Fits most cases. |
| PHP-FPM | Any version, faster. .htaccess does not work — rules go into nginx. |
| CGI | Fallback. |
Change the version
- Site card → "Settings" → backend.
- Mode: FastCGI or PHP-FPM. PHP version: the one you need.
- Click "Save".
PHP 5.3–8.5 is installed on the server. A new site is created on a recent version. An old site (WordPress, OpenCart of past years) often works only on PHP 7.4 — if you get a blank page or a 500 error after moving, lower the version.

Site php.ini settings
Site card → "PHP settings". Useful parameters: memory_limit, upload_max_filesize, post_max_size, max_execution_time.
A heavy site (WooCommerce, a large catalog) that sometimes opens and sometimes returns 500 almost always lacks memory. Raise memory_limit to 512M.

PHP in cron
Use the full path to the version: /opt/php83/bin/php /var/www/<user>/data/www/my-site.com/cron.php.