PHP Tutorial

Define PHP

PHP Installation

PHP INI File

PHP Comment

PHP Case Sensitivity

PHP Variable, DataType

PHP Echo & Print

PHP Operators

PHP Receiving Input

Decision Making - if...else

PHP Switch Case

PHP Loops

PHP Jumping Statement

PHP Image Gallery

PHP File Upload

PHP Arrays

PHP Date Functions

PHP String Functions

PHP Math Functions

PHP Functions

PHP Variable Scope

PHP Constant Variable

PHP Superglobals

PHP Form Validation

PHP Include Statement

PHP Filter

PHP File Handling

PHP Cookies

PHP Session

PHP Send Emails

PHP Captcha

PHP MySQL Select

PHP MySQL Insert

PHP MySQL Delete

PHP MySQL Update

PHP MySQL Injection

PHP Assignment

Page Stats

Visitor: 503

PHP INI File

The php.ini is the PHP configuration file, it is the final and most immediate way to affect PHP's functionality. The php.ini file is read each time PHP is initialized.

You can open php.ini file from xampp dashboard click config button. Or you can open file from "c:\xampp\php\php.ini".

You can also view the PHPInfo file by writing the following script code.

<php
   phpinfo();
?>

PHP Error Reporting

The error_reporting() function specifies which errors are reported.

error_reporting(0);  // Do not display any error.
error_reporting(1);  // Display all errors.
error_reporting(E_ALL);  // display all errors.
error_reporting(E_ERROR); // display only errors.
error_reporting(E_WARNING); // display only warnings.
Updated: 30-Mar-21