How can I check what is installed in PHP? Such as Libraries, extensions, et cetera

Linode Staff
I'm not sure if something I set up is fully installed and I want to see everything that is installed in PHP. What's the best way for me to do this? Thanks!

1 Reply

You can easily check the installed PHP extenstions, libraries, and what not with the phpinfo() command. For example, from the command line you can check for PHP cURL support with grep:

php -r 'phpinfo();' | grep -i curl

You can also create the phpinfo as a webpage. You can find further instructions on
this Community question.


Please enter an answer

You can mention users to notify them: @username

You can use Markdown to format your question. For more examples see the Markdown Cheatsheet.

> I’m a blockquote.

I’m a blockquote.

[I'm a link] (

I'm a link

**I am bold** I am bold

*I am italicized* I am italicized

Community Code of Conduct