DelphiFAQ Home Search:

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

 

comments615 comments. Current rating: 2 stars (614 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();
 ?>

Content-type: text/html

Comments:

You are on page 41 of 41, other pages: 1 2 3 38 39 40 [41]
2019-07-10, 14:37:55
anonymous from Ukraine  
rating
legit canadian pharmacy online [url= http://canadianonli..com/]legit canadian online pharmacy[/url] vipps approved canadian online pharmacy <a href=' http://canadianonli..</a> generic viagra http://canadianonli..ydazc.com/
2019-07-11, 03:59:09
anonymous from Ukraine  
rating
generic viagra [url= http://canadianonli../]canadian online pharmacy[/url] canadian online pharmacy no prescription <a href=' http://canadianonli..>viagra online</a> legitimate canadian online pharmacy http://canadianonli..ydazc.com/
2019-07-11, 04:26:33
anonymous from Ukraine  
rating
canadian pharmacy online [url= http://canadianonli...com/]best canadian online pharmacy[/url] canadian pharmacy online reviews <a href=' http://canadianonli..t;canadian pharmacy online</a> brand viagra online canadian pharmacy http://canadianonli..ydazc.com/
2019-07-11, 04:31:36
anonymous from Ukraine  
rating
cheap canadian pharmacy online [url= http://canadianonli...com/]best canadian online pharmacy[/url] reputable canadian online pharmacy <a href=' http://canadianonli..#'>best online canadian pharmacy</a> canadian pharmacy online reviews http://canadianonli..ydazc.com/
2019-07-11, 06:36:46
anonymous from Ukraine  
rating
online canadian pharmacy reviews [url= http://canadianonli...com/]best canadian pharmacy online[/url] buy viagra <a href=' http://canadianonli..;reputable canadian online pharmacy</a> online canadian pharmacy http://canadianonli..ydazc.com/
2019-07-11, 10:03:17
anonymous from Ukraine  
rating
online canadian pharmacy reviews [url= http://canadianonli..om/]online canadian pharmacy[/url] vipps approved canadian online pharmacy <a href=' http://canadianonli..t;canadian online pharmacy no prescription</a> cheap viagra online canadian pharmacy http://canadianonli..ydazc.com/
2019-07-11, 11:00:18
anonymous from Ukraine  
rating
cheap canadian pharmacy online [url= http://canadianonli../]canadian pharmacy online[/url] buy cialis online canadian pharmacy <a href=' http://canadianonli..#'>more info</a> vipps approved canadian online pharmacy http://canadianonli..ydazc.com/
2019-07-11, 14:22:45
anonymous from Ukraine  
rating
vipps approved canadian online pharmacy [url= http://canadianonli..legitimate canadian pharmacy online[/url] best online canadian pharmacy <a href=' http://canadianonli..'>cheap viagra online canadian pharmacy</a> navigate to this web-site http://canadianonli..ydazc.com/
2019-07-11, 21:50:27
anonymous from Ukraine  
rating
generic viagra online canadian pharmacy [url= http://canadianonli..c.com/]buy cialis online canadian pharmacy[/url] canadian pharmacy online <a href=' http://canadianonli..legitimate canadian online pharmacy</a> canadian online pharmacy reviews http://canadianonli..ydazc.com/
2019-07-12, 00:23:08
anonymous from Ukraine  
rating
legit canadian online pharmacy [url= http://canadianonli..shop[/url] canadian pharmacy online cialis <a href=' http://canadianonli..t;canadian pharmacy online cialis</a> viagra online canadian pharmacy http://canadianonli..ydazc.com/
2019-07-12, 03:45:41
anonymous from Ukraine  
rating
zudena [url= http://canadianonli...com/]best canadian online pharmacy[/url] generic viagra <a href=' http://canadianonli..t;canadian pharmacy online reviews</a> viagra http://canadianonli..ydazc.com/
2019-07-12, 08:29:02
anonymous from Ukraine  
rating
generic viagra [url= http://canadianonli..c.com/]buy viagra[/url] brand viagra online canadian pharmacy <a href=' http://canadianonli..'>cheap viagra online canadian pharmacy</a> legit canadian pharmacy online http://canadianonli..ydazc.com/
2019-07-12, 10:51:25
anonymous from Ukraine  
rating
viagra online [url= http://canadianonli..m/]generic viagra[/url] canadian pharmacy online <a href=' http://canadianonli..#'>best canadian online pharmacy reviews</a> best canadian online pharmacy http://canadianonli..ydazc.com/
2019-07-12, 12:36:21
anonymous from Ukraine  
rating
online canadian pharmacy [url= http://canadianonli../]canadian pharmacy online cialis[/url] legitimate canadian online pharmacy <a href=' http://canadianonli..'>legit canadian pharmacy online</a> best online canadian pharmacy http://canadianonli..ydazc.com/
2019-07-12, 13:44:35
anonymous from Ukraine  
rating
generic viagra online canadian pharmacy [url= http://canadianonli..om/]viagra online[/url] best canadian online pharmacy <a href=' http://canadianonli..legitimate canadian online pharmacy</a> best online canadian pharmacy review http://canadianonli..ydazc.com/
You are on page 41 of 41, other pages: 1 2 3 38 39 40 [41]

 

 

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: