PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!
I trying to find out how you can get the versions of modules and whether they're enabled. Is there a function or variable, or is there only to grab it from phpinfo()?
I was writting a script to grab it from phpinfo() but then I got a mindblock. Here's what I've currently written...
Nope, the function tests to see if the module is available - not if it is installed. There doesn't appear to be any obvious way of determining the version of an extension but you could check to see if the function you want to use is supported by using a combination of extension_loaded() and get_extension_funcs().
twigletmac wrote:Nope, the function tests to see if the module is available - not if it is installed. There doesn't appear to be any obvious way of determining the version of an extension but you could check to see if the function you want to use is supported by using a combination of extension_loaded() and get_extension_funcs().
Mac
Okay, that takes care of the availability, but I still need to find the exact version number because I'm not trying to find the existance of a function, but rather echo out the version to the user.