DelphiFAQ Home Search:

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

 

comments675 comments. Current rating: 2 stars (674 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 45 of 45, other pages: 1 2 3 42 43 44 [45]
2019-08-14, 02:14:52
anonymous from Russian Federation  
rating
[url= https://ifemokesyn.tk/]buy betnovate[/url] [url= https://ugenixofofip..xate[/url] [url= https://tudydavytiwa..k/]lamisil pills for sale[/url] [url= https://etupuqaqyb.tk/]generic for augmentin[/url] [url= https://yraraqajowez.cf/]buy nolvadex canada[/url] [url= https://tanesizacaxu..colchicine gout[/url] [url= https://ninugixocu.ga/]buy lotrel[/url] [url= https://itelulujizow.tk/]buy sinequan[/url] [url= https://tutasujeha.ml/]robaxin 500mg for dogs[/url] [url= https://awocilubeq.tk/]generic silagra[/url]
2019-08-14, 02:43:48
anonymous from Russian Federation  
rating
2019-08-14, 03:07:12
anonymous from Russian Federation  
rating
2019-08-14, 03:18:12
anonymous from Russian Federation  
rating
[url= https://awypidapyxyn..k/]albenza online[/url] [url= https://axiqefebut.tk/]where to buy stromectol[/url] [url= https://adugeciv.gq/]buy tadalafil cialis[/url] [url= https://vihesoviho.g..smin[/url] [url= https://ikekidyt.tk/]diovan generic price[/url] [url= https://kewowyvowawi..q/]generic zestoretic[/url] [url= https://ofefuridezeq..tk/]amoxil cost[/url] [url= https://kivesezofu.c..]combivent respimat cost[/url] [url= https://yvukuqas.tk/]how much does viagra cost[/url] [url= https://isutyxadikik.cf/]cheap levitra online[/url] [url= https://simuxoxygesa.ml/]order diflucan online[/url] [url= https://ucivacavuner..k/]astelin generic[/url] [url= https://igazigoruhik.tk/]buy januvia[/url]
2019-08-14, 03:48:14
anonymous from Russian Federation  
rating
2019-08-14, 04:13:05
anonymous from Russian Federation  
rating
[url= https://ikekidyt.tk/...com[/url] [url= https://sizeguwedido.gq/]buy amoxicilina 500 mg[/url] [url= https://ehalugesytom.ga/]buy roxithromycin[/url] [url= https://abefemusuxur..]tadalafil generic online[/url] [url= https://zudybidojulu..]micronase without prescription[/url] [url= https://yjuvipojel.tk/]buy valacyclovir without a prescription[/url] [url= https://tesixiru.tk/]isoniazid hepatitis[/url] [url= https://ditupomyca.ga/]xenical 120[/url] [url= https://baxomilowa.t../]cafergot generic[/url] [url= https://awinigen.tk/]doxazosin 8 mg[/url] [url= https://wucetizeky.tk/]buy cafergot[/url]
2019-08-14, 05:45:37
anonymous from Russian Federation  
rating
2019-08-14, 06:07:40
anonymous from Russian Federation  
rating
[url= https://tofyqamilo.tk/]shuddha guggulu without prescription[/url] [url= https://zipecajuxo.tk/]avapro price[/url] [url= https://qecesyko.ml/]buy terramycin[/url] [url= https://wowumucivily.tk/]buy micronase[/url] [url= https://evatybagaxuk..tk/]yasmin generics[/url] [url= https://atytyrus.tk/]generic suhagra[/url] [url= https://lehenomyso.ml/]where can i purchase viagra over the counter[/url]
2019-08-14, 06:10:31
anonymous from Russian Federation  
rating
2019-08-14, 06:27:33
anonymous from Russian Federation  
rating
[url= https://susyvisyri.t..oxycycline cost[/url] [url= https://utociwojywel..permethrin topical cream over counter[/url] [url= https://evamyragikum..k/]proscar cost[/url] [url= https://egexefufohyv.tk/]buy zocor[/url] [url= https://itelixefap.tk/]cheap allopurinol[/url] [url= https://ipurigaqad.tk/]cost of protonix without insurance[/url] [url= https://wisoxywo.tk/]anafranil anxiety[/url] [url= https://ydijylowuw.tk/]cleocin t acne[/url] [url= https://afyjejumud.g..uine[/url]
2019-08-14, 06:42:38
anonymous from Russian Federation  
rating
[url= https://bapibynudige../]claritin loratadine[/url] [url= https://ybybumotyr.ga/]albenza over the counter[/url] [url= https://kyboxihike.c..sildenafil citrate generic[/url] [url= https://hukexehodyra..l/]generic prograf[/url] [url= https://caqujurexuho..tk/]viagra coupons[/url] [url= https://ifetufacyz.t../]ventolin without a prescription[/url] [url= https://nunyboreqo.tk/]buy cialis in canada[/url] [url= https://enogenysum.cf/]buy propecia online[/url] [url= https://ojilidijuneh..l/]generic pulmicort[/url] [url= https://etyqyqabuk.t..opil[/url] [url= https://cuhawolywe.t..costeroids prednisone[/url] [url= https://lohujadojuji..etnovate-n cream 30gr[/url]
2019-08-14, 06:58:03
anonymous from Russian Federation  
rating
[url= https://qijyhofocy.tk/]10mg baclofen[/url] [url= https://aruvunitoqex..k/]generic tizanidine[/url] [url= https://nysodagajuku..escription dramamine[/url] [url= https://ewomutudal.t..pyridamole eye drops[/url] [url= https://ewiqujorygis../]purchase of amitriptyline without a prescriton[/url] [url= https://ituzecaj.cf/]zithromax 250 mg[/url] [url= https://abosefuq.tk/]buy sinequan[/url] [url= https://ekoduqenenin.tk/]buy serpina[/url] [url= https://cifypoqysyne..f/]elimite cream ebay[/url]
2019-08-14, 07:12:59
anonymous from Russian Federation  
rating
[url= https://abyvuhexil.tk/]buy chloramphenicol[/url] [url= https://azecijitob.t..mara[/url] [url= https://fynudaleso.cf/]buy malegra fxt[/url] [url= https://ojilidijuneh..]pulmicort flexhaler cost[/url] [url= https://dimityjequ.t..moxicillin 875 mg[/url] [url= https://lorekuqydu.t..]tadalafil generic[/url] [url= https://hotodozi.tk/]meclizine cost[/url] [url= https://mycadibu.tk/]buy antabuse[/url]
2019-08-14, 07:27:19
anonymous from Russian Federation  
rating
2019-08-14, 08:12:35
anonymous from Russian Federation  
rating
You are on page 45 of 45, other pages: 1 2 3 42 43 44 [45]

 

 

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: