DelphiFAQ Home Search:

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

 

comments711 comments. Current rating: 2 stars (710 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 48 of 48, other pages: 1 2 3 45 46 47 [48]
2019-08-14, 23:44:08
anonymous from Russian Federation  
rating
2019-08-14, 23:55:04
anonymous from Russian Federation  
rating
[url= https://sopidisuryqy.tk/]buy allopurinol[/url] [url= https://mocajevekodi.ml/]arava 10 mg[/url] [url= https://fyxigidawoja.tk/]women viagra[/url] [url= https://kisexopiziro.tk/]gasex without prescription[/url] [url= https://ofunogin.tk/]amoxil 500 mg[/url] [url= https://buduranu.tk/]metformin 1000mg[/url] [url= https://ewutekocowud.tk/]lasix no preiscription[/url]
2019-08-15, 00:18:47
anonymous from Russian Federation  
rating
2019-08-15, 00:30:33
anonymous from Russian Federation  
rating
[url= https://awozityn.ga/..vardenafil best price[/url] [url= https://topucyfemura..k/]generic xalatan[/url] [url= https://ajypaxelog.tk/]buy clomid online canada[/url] [url= https://ezamuxutynib..k/]norvasc blood pressure[/url] [url= https://abyvuhexil.t..amphenicol acetyltransferase[/url] [url= https://itunezag.tk/..vardenafil levitra[/url] [url= https://tefabutipode..k/]generic for zetia[/url] [url= https://eqejyretugol..k/]tadacip online[/url] [url= https://amojesipez.t..]quibron-t online[/url] [url= https://ozagunower.t..uvox[/url] [url= https://fyqumuzivedo.cf/]aleve liquid gels for acne[/url] [url= https://uzepiwamur.tk/]order lisinopril online[/url] [url= https://pemenatuvafe..k/]indocin 50 mg[/url] [url= https://vemonaxetu.t..]albuterol ventolin[/url] [url= https://amotilazif.m..]zithromax 100 mg[/url] [url= https://falisumoce.t..ptin[/url] [url= https://dujoxisuno.t..ropranolol hemangioma[/url] [url= https://zywesalo.tk/]protonix dr 40 mg[/url] [url= https://itiwujelowys../]ventolin hfa price[/url] [url= https://ihixofunim.tk/]price of benicar[/url] [url= https://aguwixijyz.ml/]buy aspirin[/url] [url= https://himegyrirejo..q/]xenical online[/url] [url= https://ynuwoqomyv.t..citalopram bipolar[/url]
2019-08-15, 01:28:47
anonymous from Russian Federation  
rating
[url= https://elibesifej.tk/]generic for tenormin[/url] [url= https://qyjyqoxu.tk/]buy paroxetine[/url] [url= https://ysutugybyl.cf/]robaxin muscle relaxant[/url] [url= https://wuxyryhyhido../]purchase lisinopril[/url] [url= https://imetefutepoq.tk/]buy ampicillin[/url]
2019-08-15, 01:43:21
anonymous from Russian Federation  
rating
You are on page 48 of 48, other pages: 1 2 3 45 46 47 [48]

 

 

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: