How to Find If an Extension Exists in the PHP Configuration Through Terminal

Hello,

This article will show you how to search for functions inside the PHPinfo through a terminal or console. I will show you a simple line to execute that finds if a certain word is found in the PHP info. This is useful for searching for functions.

1. Open up a terminal or console.

2. Let’s say if you want to know if GD libraries are installed, you’d search for ‘gd’ with the code like this:

php -i | grep gd

3. It will tell you if it was found or not. This way you won’t have to be checking with a phpinfo(); every time you do changes to the php.ini

If you have any question, please let me know and I’ll be more than glad to assist you.

Best Regards,

Richi

Owner of Juapo2Services.com

Looking for quality Linux Web Hosting? Try out Arvixe web hosting and you won’t be disappointed.
Tags: , , , , , , , , , , , , | Posted under Linux Server Admin, Linux Usability | RSS 2.0

Author Spotlight

Richi González

Richi González

I started programming when I was 12. I'm a Developer and have been working with the Clip-Bucket script since it came out. I became a Liaison between Arvixe and Clip-Bucket, so I am here to assist you with anything you need regarding Clip-Bucket or any particular computer-related subject you need. Best Regards, Richi

Leave a Reply

Your email address will not be published. Required fields are marked *


7 − = 4

You may use these HTML tags and attributes: <a href="" title="" rel=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>