Viewing your site's PHP version and settings - PowerPoint PPT Presentation

About This Presentation
Title:

Viewing your site's PHP version and settings

Description:

edocr presentation uploaded by PHP training in Chandigarh, in this presentation you Viewing your site's PHP version and settings. – PowerPoint PPT presentation

Number of Views:44
Slides: 8
Provided by: cbitssexp34

less

Transcript and Presenter's Notes

Title: Viewing your site's PHP version and settings


1
Viewing your site's PHP version and settings
2
  • The PHP language has a special built-in feature
    called phpinfo () that retrieves information
    about the PHP environment used on your site.
  • You can see this information by making a
    phpinfo.php file and uploading it to your site.
    When viewed in a browser, you will see details
    about the PHP installation for that specific site.

3

This includes information about
  • the PHP version
  • PHP compilation options and extensions
  • server information and environment
  • the PHP environment
  • Operating System version information, master,
    paths, and local values of configuration options
  • paths
  • master and local values of configuration options
  • HTTP headers, and
  • the PHP License.

4
How do create a phpinfo.php file?
  1. Log in into your server using an FTP client like
    FileZilla.
  2. In Filezilla, create a blank file titled
    phpinfo.php. Make sure it has not it .Txt
    extension and it has a .php extension
  3. Edit this phpinfo.php file and include the
    following lines lt?php phpinfo() ?gt
  4. Visit the file in a browser. For example
    example.com/phpinfo.php
  • create it on your computer and then uploading it
    to the server

The page lists all the PHP settings currently
used on your website.
5
Creating the file on your server
  • Log into your server via SSH.
  • Make sure you are in your site's directory (where
    all other site files are)
  • See Creating and Editing Files via SSH Articles.
    This example uses 'nano' to create the file
  • server nano phpinfo.php
  • The nano command opens a file , when file is
    opening, adding these following lines
  • lt?php phpinfo() ?gt
  • Save and close the file and return to your shell.
  • Visit the file in a browser. For example
    example.com/phpinfo.php

6
  • CBitss Technologies provide an PHP training in
    Chandigarh where we get in depth knowledge about
    PHP version that will definitely help you to make
    your skills better.

Address Sector 34A, CBitss technologies, sco
23-24-25, Chandigarh, 160022. Mobile no
9914641983
7
(No Transcript)
Write a Comment
User Comments (0)
About PowerShow.com