DelphiFAQ Home Search:

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

 

comments135 comments. Current rating: 2 stars (134 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 9 of 9, other pages: 1 2 3 4 5 6 7 8 [9]
2019-06-10, 12:13:28
anonymous from Russian Federation  
rating
[url= https://ventolin100...olin[/url] [url= https://metformin850..]metformin with no prescription[/url] [url= https://suhagra50.com/]buy suhagra[/url] [url= https://trazodone100..]trazodone hydrochloride 100mg[/url] [url= https://prednisolone..om/]buying prednisoline tablets[/url] [url= https://lasixiv.com/]buy lasix on line[/url] [url= https://antabusedisu../]antabuse disulfiram[/url] [url= https://furosemide10..mide[/url] [url= https://prednisoneta..prednisone 10 mg tablets[/url] [url= https://viagra25.com/]buy viagra 25mg[/url]
2019-06-10, 13:52:05
anonymous from Russian Federation  
rating
2019-06-10, 13:52:50
anonymous from Russian Federation  
rating
[url= https://prednisolone..ednisolone 20mg[/url] [url= https://suhagra50.com/]suhagra generic[/url] [url= https://trazodone100..]trazodone hydrochloride[/url] [url= https://viagra25.com/]25 mg viagra[/url] [url= https://antabusedisu../]antabuse no prescription[/url] [url= https://furosemide100.com/]buy fourosimide on line[/url] [url= https://ventolin100...olin[/url] [url= https://lasixiv.com/]lasix 20mg[/url] [url= https://prednisoneta..prednisone for sale 5mg[/url] [url= https://metformin850..]metformin price[/url]
2019-06-10, 14:32:19
anonymous from Russian Federation  
rating
[url= https://suhagra50.com/]suhagra online[/url] [url= https://furosemide10..furosemide 40[/url] [url= https://antabusedisu..m.com/]buy antabuse without a prescription[/url] [url= https://trazodone100..]trazodone buy[/url] [url= https://lasixiv.com/]buy laxis with mastercard[/url] [url= https://ventolin100...olin[/url] [url= https://viagra25.com..agra[/url] [url= https://prednisoneta..prednisone 5 mg tablets[/url] [url= https://prednisolone..com/]where to buy prednisolone[/url] [url= https://metformin850.com/]drug metformin[/url]
2019-06-10, 15:50:21
anonymous from Russian Federation  
rating
[url= https://ventolin100.com/]buy ventolin inhaler without prescription[/url] [url= https://furosemide10..mide[/url] [url= https://lasixiv.com/]lasix water pill[/url] [url= https://suhagra50.com/]buy suhagra online[/url] [url= https://prednisolone..ednisolone acetate[/url]
2019-06-10, 15:56:29
anonymous from Russian Federation  
rating
[url= https://prednisolone..ednisolone tablets[/url] [url= https://viagra25.com/]viagra pills 100 mg[/url] [url= https://furosemide10..furosemide 40 mg for sale[/url] [url= https://antabusedisu../]antabuse disulfiram[/url] [url= https://prednisoneta..]predinson prescriptions[/url] [url= https://ventolin100.../]ventolin diskus[/url] [url= https://metformin850.com/]buy metformin on line[/url] [url= https://lasixiv.com/]buy laxis with mastercard[/url] [url= https://trazodone100.com/]buy trazadone non generic on line without a prescription[/url] [url= https://suhagra50.com/]suhagra online[/url]
2019-06-10, 16:42:44
anonymous from Russian Federation  
rating
2019-06-10, 16:56:25
anonymous from Russian Federation  
rating
[url= https://suhagra50.com/]suhagra online[/url] [url= https://viagra25.com/]25 mg viagra[/url] [url= https://ventolin100.../]ventolin without prescription[/url] [url= https://prednisolone..ednisolone online[/url] [url= https://antabusedisu../]antabuse disulfiram[/url] [url= https://prednisonetab.com/]60 mg prednisone[/url] [url= https://lasixiv.com/..asix[/url] [url= https://furosemide10..mide[/url] [url= https://metformin850.com/]buy metformin no prescription[/url] [url= https://trazodone100..]trazodone 150 mg[/url]
2019-06-10, 16:57:08
anonymous from Russian Federation  
rating
2019-06-10, 18:26:21
anonymous from Russian Federation  
rating
[url= https://trazodone100..com/]where to buy trazodone[/url]
2019-06-10, 20:06:59
anonymous from Russian Federation  
rating
2019-06-10, 20:08:20
anonymous from Russian Federation  
rating
[url= https://trazodone100..]trazodone hydrochloride 50mg[/url]
2019-06-10, 20:13:58
anonymous from Russian Federation  
rating
[url= https://lasixiv.com/..asix[/url] [url= https://trazodone100..]trazodone buy online[/url] [url= https://prednisolone..com/]where can i buy prednisolone in the uk[/url] [url= https://metformin850..]metformin 850[/url] [url= https://antabusedisu../]purchase antabuse online[/url] [url= https://prednisoneta..prednisone 20mg tablets[/url] [url= https://viagra25.com/]50 mg viagra[/url] [url= https://suhagra50.co..agra[/url] [url= https://furosemide10..furosemide 40 mg diuretic[/url] [url= https://ventolin100.../]ventolin spray[/url]
2019-06-10, 20:20:57
anonymous from Russian Federation  
rating
[url= https://suhagra50.com/]suhagra without prescription[/url] [url= https://metformin850.com/]buy metformin no prescription[/url] [url= https://prednisolone..ednisolone online[/url] [url= https://prednisonetab.com/]buy prednisone online canada without prescription[/url] [url= https://trazodone100..done[/url]
2019-06-10, 21:05:20
anonymous from Russian Federation  
rating
You are on page 9 of 9, other pages: 1 2 3 4 5 6 7 8 [9]

 

 

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: