Php

Discussion in 'cPanel reseller hosting' started by jenmcnitt, Apr 20, 2008.

  1. jenmcnitt

    jenmcnitt New Member

    How do I find out what version of PhP I'm running with?

    Thanks!
     
  2. TheWebHostingHero

    TheWebHostingHero New Member

    If you have shell access, issue:

    Code:
    php -v
    If you don't, create a file named phpinfo.php in your public_html directory with the following content:

    Code:
    <?php phpinfo(); ?>
    Now just point your web browser to http://www.yourwebsite.com/phpinfo.php

    Don't forget to delete this file once you're done.
     

Share This Page