NicoHood
NicoHood

Reputation: 1093

Laravel check if installation meets all php extension requirements

The current Laravel 9 docs say you must install all of the listed requirements: https://laravel.com/docs/9.x/deployment#server-requirements

Now I ran into an issue, where one of those were not installed. So now my idea was to check, if those are all installed. I've looked at the php.ini file, but not all extensions are listed there. I have too little php know-how yet to check this out.

Isn't there a command that can be run to check if all requirements are met?

Upvotes: 1

Views: 3500

Answers (1)

user18366304
user18366304

Reputation:

You can list all available php modules with:

php -m

This command will give you the full list of installed PHP modules/extensions. You can match this manually with the list provided in the laravel docs.

You can also get the php version from the command line:

php --version

Upvotes: 3

Related Questions