×
Account
Log in Register
PHP expiry alert : PHP v8.1 has recently expired. Is your website still running this version? Click here for more details
SAFE versions of PHP: 8.5.9, 8.4.24, 8.3.33, 8.2.33

How to check my website's PHP version in Laravel

If your website was built in Laravel you will need terminal or SSH access to the server where your Laravel project is hosted in order to check the PHP version the site is running. Assuming you do, just follow these steps:

  1. Access your Laravel project directory using SSH or a terminal.
  2. Run the command php -v to display the PHP version your server is using.
  3. If you are using Laravel's Artisan CLI, you can also run php artisan --version to verify Laravel's compatibility with PHP.
Article last updated: 31st October, 2024