php.ini –configuration file for PHP
This article tells about PHP’s configuration file php.ini and how to write your own php.ini file to apply custom configuration.
PHP.ini is the configuration file used to customize behavior of PHP runtime. This enables easy administration in the way you administer Apache web server using configuration files. Settings like default upload directory, register global variables, display errors, log errors and many more are available in this file for editing.
When PHP engine starts up it looks for PHP.ini file to load various values for settings defined as directives in memory. It looks for PHP.ini file in various locations in particular order.first of all it looks in current working directory or directory from which script was called then in root of web directory.finally Default php.ini file of web server.the copy of this ini file can be found in /usr/local/lib/php/ for UNIX installation.
If you are using PHP with Apache then any changes made in PHP.ini file will be reflected only after restart of Apache server.
To apply custom configuration you can write your own php.ini file. First copy php.ini template file, make necessary changes in values directives according to your need rename it to php.ini then copy it to desired location in root of your web directory or in any particular folder if you want these settings to be effective for scripts residing in that folder only. The PHP runtime will take values only for settings which are specified in php.ini file if you are using your own, for rest of settings it will take defaults of PHP runtime. So if you are writing your own php.ini, keep in mind to overwrite every settings specified in web server’s php.ini file this can not be used as an extension of web server’s php.ini file.
-
Test and Customize your WordPress CMS themes locally before launching it
| By devblogzone | in Web Development
After going through this article you will be familiar on how to install WAMP Server, WordPress on to your local sys...
-
ASP.NET - C# - Theme based stylesheet parameterizer
| By CodeGolem | in Programming
Here I'm going to explain a way to create a Theme-based styleheet parameterizer which will allow us to place variab...
-
ASP.NET - C# - Dynamic text image control
| By CodeGolem | in Programming
Many programmers already use GDI functionalities to dynamically render images on the server with some custom font. ...
-
How To Upgrade Instant Rails
| By shafir | in Computers
The goal of upgrading, obviously, is to install a new version of Instant Rails without losing any of your data or c...
-
Build A Free Ecommerce Store Front In Less Than An Hour | By AaronMeagher | in Web Development
Are you looking to start selling online and want a quick and easy solution for your ecommerce storefront? While yo...
-
Black Hat SEO Techniques | By ChandraK | in Web Development
Black hat SEO is a technique that is used to get higher ranking for the website in a base manner. Black hat SEO is ...
-
White Hat SEO Techniques | By ChandraK | in Web Development
White hat SEO is a method that follows all the required webmaster guidelines in effective building of the website. ...
-
Create a panoramic image slideshow in Dreamweaver | By extendstudio | in Web Development
In this tutorial we will make a moving panorama slideshow using Creative DW ImageshowPro and Dreamweaver. We will c...
-
Google Development and Google API Topics | By OGolden | in Web Development
Abundant information is available on Google Data API topics....
-
Using remote desktop in windows XP | By rajeshchoudhary | in Computers
if you want to connect to a machine remotly using Remote Desktop Connection, remote Desktop in target machine needs...
-
setting password wisely for your accounts | By rajeshchoudhary | in Computers
Incidents of information phishing and hacking are happening every now and then. One fine day morning you wake up to...
-
Web.config –configuration file for ASP.NET web application. | By rajeshchoudhary | in Web Development
This article tells what web.config file is, how to write this and how this file is used by run time to apply settin...
-
LAMP-Open Source Solution Stack for web develpoment | By rajeshchoudhary | in Web Development
This article tells about LAMP solution stack which is being used to develop and deploy complete website....
-
How to enable/disable cookies in Firefox 3.x? | By rajeshchoudhary | in General
This article tells about cookies and how to enable/disable these cookies in Firefox....








No comments yet.