Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8117127
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T04:03:50+00:00 2026-06-06T04:03:50+00:00

My problem is relative simple, but I’m not getting much luck with searches for

  • 0

My problem is relative simple, but I’m not getting much luck with searches for it, broad or narrow. On phpinfo I can find the following text for the posix extension:

posix

Revision    $Revision: 300764 $

The portion “$Revision: 300764 $” is what I’m after. Similar for extensions like SimpleXML, sysvmsg and other extensions where I would like to read out more details. For example in the openssl section, I’d like the value of “OpenSSL Library Version”.

Is there any way to get values like these inside PHP, without doing the tango with output buffer, then parse the phpinfo output?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-06T04:03:52+00:00Added an answer on June 6, 2026 at 4:03 am

    Try phpversion with a supplied extension name:

    <?php
    $e=get_loaded_extensions();
    
    foreach ($e as $ext)
    {
            echo $ext.' : '.phpversion($ext)."\n";
    }
    
    $> php -f t.php
    Core : 5.3.14
    date : 5.3.14
    ereg : 
    libxml : 
    openssl : 
    pcre : 
    sqlite3 : 0.7-dev
    ctype : 
    curl : 
    dom : 20031129
    fileinfo : 1.0.5-dev
    filter : 0.11.0
    ftp : 
    gd : 
    gettext : 
    hash : 1.0
    iconv : 
    json : 1.2.1
    ldap : 
    mbstring : 
    mcrypt : 
    SPL : 0.2
    session : 
    standard : 5.3.14
    mysqlnd : mysqlnd 5.0.8-dev - 20102224 - $Id: 65fe78e70ce53d27a6cd578597722950e490b0d0 $
    PDO : 1.0.4dev
    pdo_mysql : 1.0.2
    pdo_sqlite : 1.0.1
    Phar : 2.0.1
    posix : 
    Reflection : $Id: 522fef1e5100f848a5e2059d98b3a880a3143e9a $
    mysqli : 0.1
    SimpleXML : 0.1
    SQLite : 2.0-dev
    mysql : 1.0
    tidy : 2.0
    tokenizer : 0.1
    xml : 
    xmlreader : 0.1
    xmlwriter : 0.1
    xdebug : 2.2.0
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a simple problem but have not figured out what might be solution
might be a stupid simple solution but I can't seem to find what's wrong
simple question maybe but can't find solution. I have button for refresh/update some contents
I am hoping that someone can help me with this relative simple problem: <?php
This must be a simple problem, but I can't get my head around it.
I have a working simple jquery drop-down menu . But problem is how can
I have a simple problem where I have 2 divs, 1 is relative positioned.
Simple problem, though apparently not a simple solution. Example here: http://myhideout.eu/new/ Basically the site
I'm writing a simple piece of code in ruby, but it's not working the
I am drawing two relative simple shapes and the geometry of them do not

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.