How to find the PHP version of a laravel project?

1

How to find out the php version of the laravel project, do you have any command in cmd?

    
asked by anonymous 24.10.2017 / 00:03

3 answers

1

To view in a quick way, you can edit your index.php file inside the public folder by putting this in the beginning:

<?php
     phpinfo();

It's simple but solved your problem!

    
24.10.2017 / 01:10
1

Check inside the file composer.json , behind the version that was created the project and the requirements

"php": ">=5.6.4"
    
24.10.2017 / 00:06
1

Open a tag in some blade.php, such as index.blade.php, in the public folder and type

 <?php
     phpinfo();
 ?>

Here I have tested this, and it works abs!

    
24.10.2017 / 01:57