DelphiFAQ Home Search:

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

 

comments427 comments. Current rating: 2 stars (426 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 25 of 29, other pages: 1 2 3 22 23 24 [25] 26 27 28 29
2019-06-30, 02:23:35
anonymous from Russian Federation  
rating
[url= https://xenical120mg..ical[/url] [url= https://levitrasale...itra[/url] [url= https://atenolol25.c../]atenolol 50 mg tablets[/url] [url= https://femaleviagra..com/]where to buy female viagra[/url] [url= https://vardenafilbuy.com/]buy vardenafil[/url] [url= https://atarax10.com/]atarax 25mg tab[/url] [url= https://wellbutrin30..wellbutrin sr 150mg[/url] [url= https://cafergot100...rgot[/url] [url= https://sildenafil10..com/]where to buy sildenafil online[/url] [url= https://tetracycline..com/]where to buy tetracycline online[/url]
2019-06-30, 02:29:51
anonymous from Russian Federation  
rating
[url= https://levitrasale.com/]buy generic levitra online[/url] [url= https://generictadal..]tadalafil 5 mg[/url] [url= https://sildalis120.../]sildalis without prescription[/url] [url= https://xenical120mg..m/]xenical 120mg[/url]
2019-06-30, 02:45:55
anonymous from Russian Federation  
rating
[url= https://atarax10.com/]atarax 25mg for sleep[/url] [url= https://wellbutrin30..wellbutrin sr 150[/url] [url= https://lisinoprilbu..lisinopril tabs[/url] [url= https://cafergot100.../]cafergot pills[/url] [url= https://buydiflucan.com/]buy diflucan cheap[/url]
2019-06-30, 03:18:49
anonymous from Russian Federation  
rating
2019-06-30, 03:29:06
anonymous from Russian Federation  
rating
2019-06-30, 03:51:53
anonymous from Russian Federation  
rating
[url= https://tetracycline..com/]order tetracycline online[/url] [url= https://zoviraxacycl..m/]zovirax without a rx[/url] [url= https://xenical120mg.com/]buy cheap xenical[/url] [url= https://buydiflucan.com/]buy fluconazol[/url] [url= https://vardenafilbuy.com/]buy vardenafil uk[/url] [url= https://hydrochlorot..rothiazide 125mg[/url] [url= https://atarax10.com/]buy atarax[/url] [url= https://wellbutrin30..trin[/url] [url= https://lisinoprilbu..lisinopril 20 mg tablets[/url] [url= https://cafergot100...m/]generic cafergot[/url]
2019-06-30, 03:56:09
anonymous from Russian Federation  
rating
[url= https://buydiflucan.com/]buy diflucan generic[/url] [url= https://tetracycline..tracycline 500mg[/url] [url= https://vardenafilbuy.com/]buy vardenafil uk[/url] [url= https://levitrasale.com/]buy levitra online[/url] [url= https://allopurinolz..m/]generic allopurinol[/url] [url= https://doxycycline0..line[/url] [url= https://hydrochlorot..amlodipine hydrochlorothiazide[/url] [url= https://xenical120mg.com/]buy xenical[/url] [url= https://lisinoprilbu..lisinopril pill[/url] [url= https://cafergot100.../]cafergot tablets[/url]
2019-06-30, 04:43:01
anonymous from Russian Federation  
rating
[url= https://sildenafil10..com/]where to buy sildenafil online[/url] [url= https://buydiflucan.com/]buy diflucan[/url] [url= https://vardenafilbu..com/]where to buy vardenafil[/url] [url= https://xenical120mg..m/]xenical over the counter[/url] [url= https://wellbutrin30..trin[/url]
2019-06-30, 04:54:37
anonymous from Russian Federation  
rating
2019-06-30, 05:07:00
anonymous from Russian Federation  
rating
2019-06-30, 05:27:04
anonymous from Russian Federation  
rating
2019-06-30, 05:36:25
anonymous from Russian Federation  
rating
2019-06-30, 05:45:32
anonymous from Russian Federation  
rating
2019-06-30, 06:02:02
anonymous from Russian Federation  
rating
2019-06-30, 06:02:53
anonymous from Russian Federation  
rating
You are on page 25 of 29, other pages: 1 2 3 22 23 24 [25] 26 27 28 29

 

 

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: