SQL PHP HTML ASP JavaScript articles and free scripts to download
 

php.ini file at server

PHP.INI file is the configuration file of PHP in which the PHP settings are kept.

Changing / Edit php.ini file

In a shared hosting environment you need to contact your host to change the settings of this file. Any change in php.ini is applicable to whole server ( not only to your website ) so your host is unlikely to agree for changes all the time.

How to read the settings of php.ini file

Best way is to use phpinfo function. Single settings can be read by using ini_get function.

Location of php.ini file in my server

In your server root

Changing the settings at script level

Some settings we can change at script level by using the function ini_set function.

How to change or locate in my localhost

Search for the php.ini file. It will be there in your PHP installed directory or inside windows directory. Open this file in note pad or any other text editor and do the changes. You may need to restart your PC to reflect the changes. You can check phpinfo to verify the changes.

Enabling Extensions

You may need some extensions to be added or to be removed. You can do all these changes at php.ini file. While installing PHP you based on your selection these extension will be added or removed. After installation also you can change these settings.

Php.ini file has all the necessary comments along with the settings to help the users the implication of any change. Open the file in note pad and read all of them for better understanding of PHP configurations.


Further readings
Introduction to PHP: How scripting languages work
PHP beginners guide
echo command & escape character for string outputs
Adding delay to the script execution time by using sleep function
Disabling a part of the code by using comments in PHP
Printing Numbers 1 to 50 to screen
PHP Info: Details on PHP script settings & installation at server end
php_uname: Server OS details
PHP.ini file: PHP server configuration setting file for Edit or update
ini_get: PHP function to get configuration settings from php.ini file
ini_set: PHP function to change the configuration settings of php.ini file
PHP Version : What is the version of PHP running at the server
Installing PHP on windows server and IIS
Installing PHP5 on windows server and IIS
Setting up PHP in Windows Vista OS to run in IIS7 web server
Configuration of IIS7 to run PHP scripts with ISAPI module
Extension directory of PHP to store dll files for windows
Error messages Display off or On by using display_errors function in php.ini file
Using HTML inside PHP script, displaying tags

shaa17-08-2011
How to display a drop down table, when on-click a button in php
avinsh07-06-2012
win_serial module NOT loaded
how to solve this error?using wampserver(windows)
lian19-12-2012
really helping
Post Comment This is for short comments only. Use the forum for more discussions.
Name
Email( not to be displayed)Privacy Policy
1+2=This is to prevent automatic submission by spammers. Please enter the result of the sum as asked

Join Our Email List
Email:  
For Email Newsletters you can trust
Basics
HTML . MySQL. PHP. JavaScript. ASP. Photoshop. Articles. FORUM Contact us

©2000-2013 plus2net.com All rights reserved worldwide Privacy Policy Disclaimer