DelphiFAQ Home Search:

How can I create my own php.ini config file?

 

comments628 comments. Current rating: 2 stars (627 votes). Leave comments and/ or rate it.

Question:

My system has no php.ini configuration file and thus works with the default settings. How can I create a php.ini file (and where do I need to place it)?

Answer:

The location for your config file was set when php was compiled (using directive --with-config-file-path=/directory. The default location on Unix machines is /usr/local/lib/php.ini and on Windows computers it is in the Windows directory e.g. c:\windows\php.ini.

To create a file in that location, take the file php.ini-dist and copy it to the above mentioned location, then rename it to php.ini. Under Windows you could also keep configuration settings in the registry but I recommend using the text file since it makes migrations easier.

Afterwards you can confirm that the php.ini file works by calling phpinfo():

<?php
  phpinfo();
 ?>

Comments:

You are on page 42 of 42, other pages: 1 2 3 39 40 41 [42]
2019-07-12, 14:51:18
anonymous from Ukraine  
rating
buy cialis online canadian pharmacy [url= http://canadianonli..c.com/]buy cialis online canadian pharmacy[/url] reputable canadian online pharmacy <a href=' http://canadianonli..'>legit canadian online pharmacy</a> view it http://canadianonli..ydazc.com/
2019-07-12, 16:31:11
anonymous from Ukraine  
rating
site web [url= http://canadianonli../]canadian online pharmacy viagra[/url] online canadian pharmacy reviews <a href=' http://canadianonli..'>legit canadian pharmacy online</a> best canadian online pharmacy http://canadianonli..ydazc.com/
2019-07-12, 16:35:07
anonymous from Ukraine  
rating
best canadian online pharmacy reviews [url= http://canadianonli../]canadian pharmacy online cialis[/url] online canadian pharmacy review <a href=' http://canadianonli..>online canadian pharmacy review</a> online canadian pharmacy review http://canadianonli..ydazc.com/
2019-07-12, 16:50:42
anonymous from Ukraine  
rating
viagra online [url= http://canadianonli..m/]generic viagra online canadian pharmacy[/url] canadian pharmacy online reviews <a href=' http://canadianonli../#'>buy viagra</a> best canadian online pharmacy reviews http://canadianonli..ydazc.com/
2019-07-12, 17:35:30
anonymous from Ukraine  
rating
viagra [url= http://canadianonli..m/]generic viagra[/url] canadian pharmacy online cialis <a href=' http://canadianonli..legitimate canadian pharmacy online</a> canadian online pharmacy no prescription http://canadianonli..ydazc.com/
2019-07-12, 18:17:41
anonymous from Ukraine  
rating
legitimate canadian online pharmacy [url= http://canadianonli..]reputable canadian online pharmacy[/url] generic viagra online canadian pharmacy <a href=' http://canadianonli..legitimate canadian online pharmacy</a> best canadian pharmacy online http://canadianonli..ydazc.com/
2019-07-12, 20:54:49
anonymous from Ukraine  
rating
canadian pharmacy online [url= http://canadianonli..om/]viagra online[/url] viagra <a href=' http://canadianonli..legitimate canadian pharmacy online</a> canadian pharmacy online cialis http://canadianonli..ydazc.com/
2019-07-12, 23:39:03
anonymous from Ukraine  
rating
canadian online pharmacy reviews [url= http://canadianonli..]reputable canadian online pharmacy[/url] best online canadian pharmacy review <a href=' http://canadianonli..'>legit canadian pharmacy online</a> best online canadian pharmacy review http://canadianonli..ydazc.com/
2019-07-13, 05:34:19
anonymous from Ukraine  
rating
cheap viagra online canadian pharmacy [url= http://canadianonli..]reputable canadian online pharmacy[/url] viagra online canadian pharmacy <a href=' http://canadianonli..'>cheap viagra online canadian pharmacy</a> canadian pharmacy online reviews http://canadianonli..ydazc.com/
2019-07-13, 05:39:07
anonymous from Ukraine  
rating
canadian online pharmacy no prescription [url= http://canadianonli...com/]best canadian online pharmacy reviews[/url] canadian pharmacy online reviews <a href=' http://canadianonli..;reputable canadian online pharmacy</a> legit canadian online pharmacy http://canadianonli..ydazc.com/
2019-07-13, 07:32:39
anonymous from Ukraine  
rating
best online canadian pharmacy review [url= http://canadianonli..c.com/]pop over to this website[/url] cheap viagra online canadian pharmacy <a href=' http://canadianonli..t;canadian online pharmacy viagra</a> legit canadian online pharmacy http://canadianonli..ydazc.com/
2019-07-13, 10:50:25
anonymous from Ukraine  
rating
online canadian pharmacy [url= http://canadianonli../]canadian online pharmacy viagra[/url] generic viagra <a href=' http://canadianonli..'>cheap viagra online canadian pharmacy</a> malady http://canadianonli..ydazc.com/
2019-07-13, 11:45:47
anonymous from Ukraine  
rating
vipps approved canadian online pharmacy [url= http://canadianonli..]reputable canadian online pharmacy[/url] legitimate canadian online pharmacy <a href=' http://canadianonli..</a> canadian online pharmacy viagra http://canadianonli..ydazc.com/
You are on page 42 of 42, other pages: 1 2 3 39 40 41 [42]

 

 

NEW: Optional: Register   Login
Email address (not necessary):

Rate as
Hide my email when showing my comment.
Please notify me once a day about new comments on this topic.
Please provide a valid email address if you select this option, or post under a registered account.
 

Show city and country
Show country only
Hide my location
You can mark text as 'quoted' by putting [quote] .. [/quote] around it.
Please type in the code:

Please do not post inappropriate pictures. Inappropriate pictures include pictures of minors and nudity.
The owner of this web site reserves the right to delete such material.

photo Add a picture: