DelphiFAQ Home Search:

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

 

comments690 comments. Current rating: 2 stars (689 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 46 of 46, other pages: 1 2 3 43 44 45 [46]
2019-08-14, 08:38:44
anonymous from Russian Federation  
rating
2019-08-14, 08:51:46
anonymous from Russian Federation  
rating
2019-08-14, 09:47:21
anonymous from Russian Federation  
rating
2019-08-14, 10:11:39
anonymous from Russian Federation  
rating
[url= https://zesysoxane.tk/]buy noroxin[/url] [url= https://ipudanisef.tk/]buy singulair[/url] [url= https://zaquwetuqezo..eral[/url] [url= https://sikyqucuzi.gq/]buy tamoxifen[/url] [url= https://vezirowuwace..alis[/url] [url= https://ebuvukesilep..k/]xenical pills[/url] [url= https://egohoxakeroj..tracycline 500 mg[/url] [url= https://abatijopyr.tk/]buy arimidex[/url] [url= https://iwujysyvenyl..tk/]advair diskus[/url] [url= https://idorimepaq.tk/]hyzaar generic[/url] [url= https://otibucigiz.tk/]ponstel generic[/url] [url= https://daqevinuhogy..etia[/url] [url= https://ibidilyvix.tk/]zyban cost without insurance[/url] [url= https://yfewipujehaf..f/]avodart generic[/url] [url= https://vuxefuteza.tk/]kamagra oral jelly usa[/url] [url= https://govynyciseze..sildenafil buy[/url] [url= https://foqyvatiqe.t../]didronel without prescription[/url] [url= https://ypyrelygax.t..afil[/url] [url= https://ihecyhobaw.ml/]viagra triangle[/url] [url= https://wuqisiqi.tk/]skelaxin cost without insurance[/url] [url= https://enogenysum.cf/]buy finasteride[/url] [url= https://curaxylyme.tk/]drug pristiq[/url] [url= https://awinigen.tk/]doxazosin price[/url] [url= https://comymobixyhy..]synthroid 137mg without prescription[/url] [url= https://icycudezaf.tk/]buy lexapro from canada[/url] [url= https://vazavyjugily.tk/]cost of acyclovir[/url]
2019-08-14, 10:11:39
anonymous from Russian Federation  
rating
2019-08-14, 10:21:40
anonymous from Russian Federation  
rating
2019-08-14, 10:51:19
anonymous from Russian Federation  
rating
2019-08-14, 11:06:17
anonymous from Russian Federation  
rating
2019-08-14, 11:25:42
anonymous from Russian Federation  
rating
2019-08-14, 11:57:56
anonymous from Russian Federation  
rating
2019-08-14, 12:50:21
anonymous from Russian Federation  
rating
[url= https://adudyqywyx.t..clopramide for rabbits[/url] [url= https://pinyxufisa.tk/]trimox without prescription[/url] [url= https://uxidusiwol.ga/]order metformin online[/url] [url= https://xumetanafu.tk/]lanoxin 0.25 mg[/url] [url= https://jazyqupiqypy../]premarin cost[/url] [url= https://xakopalawo.gq/]buy emsam[/url] [url= https://hehybyzesi.tk/]buy hoodia gordonii[/url] [url= https://negytekesuve..k/]abilify cost without insurance[/url] [url= https://ogopopazaxut..]lopressor iv[/url] [url= https://wisoqewomi.tk/]cheap tadalafil 20mg[/url] [url= https://orohyqur.tk/]skelaxin price[/url] [url= https://dipytylywu.tk/]buy chloromycetin[/url] [url= https://nanurovi.tk/]atenolol tenormin[/url] [url= https://wokynyvowi.t..]bupropion sr 200 mg[/url]
2019-08-14, 13:32:04
anonymous from Russian Federation  
rating
[url= https://ohylydabid.t../]baclofen buy online[/url] [url= https://fucequmehiqa..tk/]yasmin birth control pill[/url] [url= https://hokekyjiva.tk/]online tadalafil[/url] [url= https://awozityn.ga/]online vardenafil[/url] [url= https://ketohifo.tk/..dine[/url] [url= https://ozalapexix.t..lbendazole over the counter[/url] [url= https://doqanehoga.tk/]paxil 5 mg[/url] [url= https://ysikifypyj.tk/]bactrim order online[/url]
2019-08-14, 14:15:37
anonymous from Russian Federation  
rating
2019-08-14, 16:43:43
anonymous from Russian Federation  
rating
[url= https://elibesifej.t../]tenormin for anxiety[/url] [url= https://ifyposilij.t../]shallaki without prescription[/url] [url= https://utufifozizym..ithromycin zithromax[/url] [url= https://delaqunizaxi..tk/]viagra generic[/url] [url= https://enoqosideqin..k/]shuddha guggulu[/url] [url= https://ylokeroc.tk/..ukol[/url] [url= https://iweruhikidog..k/]menosan without prescription[/url] [url= https://abatijopyr.tk/]buy arimidex online cheap[/url] [url= https://vycykehoro.gq/]buy paxil[/url] [url= https://ezedyqav.tk/]buying wellbutrin online[/url] [url= https://ejuxocysadek..tk/]avapro drug[/url] [url= https://adewikur.gq/]when will zetia go generic[/url] [url= https://cugimosotu.g../]cafergot medication[/url] [url= https://noveriryge.gq/]generic brahmi[/url]
2019-08-14, 17:18:53
anonymous from Russian Federation  
rating
You are on page 46 of 46, other pages: 1 2 3 43 44 45 [46]

 

 

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: