How to find out the PHP version of a standard project?

Asked

Viewed 1,096 times

1

To find out the php version of the Laravel project, have some command in cmd?

3 answers

2

Check inside the file composer.json, back the version that was created the design and requirements

"php": ">=5.6.4"

1


To visualize quickly, you can edit your index.php file inside the public folder by starting this:

<?php
     phpinfo();

It’s simple but solved your problem!

1

Open a tag in a Blade.php, like index.blade.php, in the public folder and type

 <?php
     phpinfo();
 ?>

Here I’ve tested it, and it works abs!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.