DelphiFAQ Home Search:

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

 

comments705 comments. Current rating: 2 stars (704 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 47 of 47, other pages: 1 2 3 44 45 46 [47]
2019-08-14, 17:35:03
anonymous from Russian Federation  
rating
2019-08-14, 18:06:19
anonymous from Russian Federation  
rating
2019-08-14, 18:25:08
anonymous from Russian Federation  
rating
[url= https://yvyrysevanax../]nolvadex 10mg[/url] [url= https://vefusukiheze.gq/]buy lasix on line[/url] [url= https://pemenatuvafe..k/]indocin 50 mg[/url] [url= https://agygywudex.tk/]generic for zestril[/url] [url= https://dabejurasi.tk/]zebeta 5 mg[/url] [url= https://kifiloju.tk/]order diclofenac online[/url] [url= https://ekimedoroz.t..probenecid colchicine combination[/url] [url= https://eligotyheq.cf/]buy female viagra uk[/url] [url= https://egohoxakeroj..tracycline online no prescription[/url] [url= https://mimewicireca..onel[/url] [url= https://ixepiqomuwuh..]albuterol ventolin[/url] [url= https://oqerehifoxov..tk/]cialis online generic[/url]
2019-08-14, 18:33:28
anonymous from Russian Federation  
rating
[url= https://ewubekizegoz..tk/]pletal 100 mg[/url] [url= https://bebuzetahyxi..k/]kamagra tablets[/url] [url= https://upukevirux.tk/]generic for diflucan[/url] [url= https://ewutekocowud.tk/]lasix without prescription[/url] [url= https://wareponuje.tk/]buy doxycycline[/url] [url= https://tufapyxi.tk/]buy silagra[/url] [url= https://epegelifym.ga/]flagyl antibiotic[/url] [url= https://ocukemet.tk/]lexapro online cheap[/url] [url= https://segejosowuva..]lopressor drug[/url]
2019-08-14, 18:41:27
anonymous from Russian Federation  
rating
2019-08-14, 18:58:56
anonymous from Russian Federation  
rating
2019-08-14, 20:01:34
anonymous from Russian Federation  
rating
2019-08-14, 20:13:59
anonymous from Russian Federation  
rating
2019-08-14, 20:58:45
anonymous from Russian Federation  
rating
[url= https://imywabujomip..ropranolol inderal[/url] [url= https://ifetufacyz.t../]ventolin hfa 90 mcg inhaler[/url] [url= https://ohadakuboz.tk/]buy aristocort[/url] [url= https://vyxuqodoliny..sildenafil citrate generic viagra[/url] [url= https://ubagisil.tk/..rothiazide without a prescription[/url] [url= https://betasocu.gq/..ahmi[/url] [url= https://irydylebyhyz.tk/]paxil cost without insurance[/url] [url= https://demijucohatu..ycin[/url] [url= https://ycosegejyjex..cf/]zoloft medication[/url] [url= https://rezynali.tk/..diclofenac 75mg tablets[/url] [url= https://uwofuhawodoc..]tamoxifen online[/url] [url= https://eronupyl.tk/..scar[/url] [url= https://xojymyzafu.t../]motilium canada[/url] [url= https://fyferory.tk/]generic sildenafil citrate[/url] [url= https://elociqikasub..lisinopril prices[/url] [url= https://usebosin.gq/]where to buy advair[/url] [url= https://osudeqejov.t..enza[/url]
2019-08-14, 21:10:39
anonymous from Russian Federation  
rating
2019-08-14, 21:39:52
anonymous from Russian Federation  
rating
[url= https://buqukikiwide..tk/]clomid 50mg[/url] [url= https://jepijuma.tk/..levothroid weight loss[/url] [url= https://ixymaquxux.t..]strattera cost[/url] [url= https://iwuxemijad.g..lisinopril price without insurance[/url] [url= https://yzibaver.cf/]buy emsam[/url] [url= https://lawegukaxe.tk/]generic dutasteride[/url]
2019-08-14, 22:07:22
anonymous from Russian Federation  
rating
2019-08-14, 22:36:23
anonymous from Russian Federation  
rating
2019-08-14, 23:23:33
anonymous from Russian Federation  
rating
2019-08-14, 23:36:57
anonymous from Russian Federation  
rating
You are on page 47 of 47, other pages: 1 2 3 44 45 46 [47]

 

 

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: