List:General Discussion« Previous MessageNext Message »
From:Imran Chaudhry Date:January 2 2006 12:29pm
Subject:Re: installed modules
View as plain text  
Not sure what you mean by 'using MySQL to query your installed modules', sorry.

phpinfo() called from a HTML document is one way, but from a command
line level, you can do this is you have the php CLI installed:

PHP: php -m

Perl: If you want to test if a specific module is installed, a way is:
perl -M<module name> -e '' (where module name is perlish name like DBI
or XML::Simple)

It should return silently without errors if it is installed.


Hope that helps,

Imran Chaudhry

--
http://www.EjectDisc.com
Get your Digital Identity - Domain Names, Web Space, E-mail & More!
Thread
installed modulesJon  Miller31 Dec
Re: installed modulesImran Chaudhry2 Jan