Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2003
    Location
    Rancho Cucamonga, CA
    Posts
    246

    Question How to determine what version of PHP

    Afternoon Everyone!

    I need to determine what version of PHP is running on a box. Can someone tell me the easiest way to do this?

    Thanks....
    James Edmonds
    DataDork Consulting
    http://www.datadork.com

  2. #2
    Create a php page and place phpinfo() in it.

    http://us3.php.net/phpinfo
    Hendrick Networks - Technical, Security and Connectivity Solutions Built on T.R.U.S.T

  3. #3
    Join Date
    Sep 2002
    Location
    Top Secret
    Posts
    11,687
    Another way to do this if you have shell access is to simply type
    Code:
    php --version
    from the command line.
    This will also let you know the ZO version you're using, in about 5 lines, as opposed to scrolling through a phpinfo() page
    WHMCS Guru - WHMCS addons, management, support and more.
    WHMCS Notifications Extended - Add slack, hipchat, SMS, pushover to WHMCS !!
    Always looking for Linux, WHMCS, Support Desk work. PM for details

  4. #4
    Join Date
    Feb 2005
    Location
    I am air u breathe
    Posts
    229
    php -v will work fine

    Al
    It is reliability that counts...
    Few tips

  5. #5
    phpinfo(INFO_MODULES) doesn't show that much info. In any case... I think that DataDork has his answers now.
    Hendrick Networks - Technical, Security and Connectivity Solutions Built on T.R.U.S.T

  6. #6
    Join Date
    Jan 2003
    Location
    Rancho Cucamonga, CA
    Posts
    246
    Question was answered. Thanks for the tips. You guys are the greatest!

    Take care....
    James Edmonds
    DataDork Consulting
    http://www.datadork.com

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •