The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SOLVED Is there way to tell the PHP-CLI version

Discussion in 'EasyApache' started by WebHostPro, Dec 19, 2016.

Tags:
  1. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,612
    Likes Received:
    11
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    I have customer having PHP-CLI issues with a script and wants to know the version.

    I can't seem to find anywhere where to find this.

    Thanks!
     
  2. rpvw

    rpvw Well-Known Member

    Joined:
    Jul 18, 2013
    Messages:
    261
    Likes Received:
    77
    Trophy Points:
    28
    Location:
    Spain
    cPanel Access Level:
    Root Administrator
    Log in to a terminal shell as root and run the following
    Code:
    # php -v
    You should get something like
    Code:
    ea-php-cli Copyright 2016 cPanel, Inc.
    PHP 5.6.29 (cli) (built: Dec  9 2016 08:32:13)
    Copyright (c) 1997-2016 The PHP Group
    Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
    You might like to see PHP CLI and PHP: Command line usage - Manual for more details
     
  3. WebHostPro

    WebHostPro Well-Known Member
    PartnerNOC

    Joined:
    Jul 28, 2002
    Messages:
    1,612
    Likes Received:
    11
    Trophy Points:
    318
    Location:
    LA, Costa RIca
    cPanel Access Level:
    Root Administrator
    Twitter:
    Thanks,
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    37,171
    Likes Received:
    1,295
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    linux4me2 likes this.
Loading...

Share This Page