Quantcast
Channel: iNetTutor.com
Viewing all articles
Browse latest Browse all 1774

Determine the PHP version on your server

$
0
0

Determine the PHP version on your server

In this lesson, we are going to learn how to determine the PHP version running on our server using codes.

Just follow these simple steps:

  1. Open any text editor (notepad, notepad ++, etc.).
  2. Type the following code or better copy and paste the code on your text editor:
    <?php echo phpversion(); ?>
  3. Save the file as phpversion.php
    Note: make sure that the file extension is .php
  4. Upload the file to your web root.  Ex:  C:\wamp\www (for wamp users).
  5. Open your browser and type http://localhost/phpversion.php

Your browser will look like this: (it will display the PHP version that runs on your server)

phpversion


Viewing all articles
Browse latest Browse all 1774

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>