Skip to content

PHP Configuration

LarVPS supports PHP 8.1, 8.2, 8.3, 8.4, and 8.5. Change versions from Site Settings → Runtime tab.

The agent will automatically:

  • Install the new PHP version (if not already present)
  • Migrate the FPM pool configuration
  • Restart Nginx and PHP-FPM
SettingDefaultOptions
Memory Limit512 MB128M, 256M, 512M, 1024M, 2048M
Upload Max128 MB32M, 64M, 128M, 256M, 512M
Max Execution Time30s30, 60, 120, 300, 600
Max Input Vars10001000, 3000, 5000, 10000

By default, LarVPS runs PHP in Hardened Mode with dangerous functions disabled:

  • exec(), system(), passthru(), shell_exec()
  • proc_open(), popen(), curl_multi_exec()
  • parse_ini_file(), show_source(), proc_nice()

You can enable individual functions from the Runtime tab if your application requires them (e.g., Laravel needs proc_open for Artisan commands).

Enable ionCube Loader from the Runtime tab for applications that require encoded PHP files (e.g., WHMCS, commercial plugins).