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();
 ?>

Comments:

You are on page 4 of 29, other pages: 1 2 3 [4] 5 6 7 26 27 28 29
2019-04-09, 06:20:14
anonymous from Russian Federation  
rating
2019-04-09, 06:35:30
anonymous from Russian Federation  
rating
[url= https://buyacyclovir..n.com/]buy valacyclovir online[/url]
2019-04-09, 06:56:36
anonymous from Russian Federation  
rating
[url= https://webcamteens...ream/]open incest sex chat room[/url] [url= https://chatwithgirl..op/]erotic chat[/url] [url= https://freewebcamch..ream/]free adult webcam chat[/url] [url= https://freesexwebca..site/]live cam girl[/url] [url= https://freeonlinese..eam/]adult freind finder[/url] [url= https://adultchatroo...site/]sex chat live[/url] [url= https://bbwcams.live/]bbw cams[/url] [url= https://freelivesexc..live/]chat ave[/url] [url= https://nudelive.icu/]live nude[/url] [url= https://adultchatroo..q/]amateur cam[/url]
2019-04-09, 07:39:14
anonymous from Russian Federation  
rating
2019-04-09, 07:59:13
anonymous from Russian Federation  
rating
[url= https://camdolls.top/]cam dolls[/url] [url= https://adultcams.cf/]adult cams[/url] [url= https://camsites.fun/]bbw cam[/url] [url= https://chatwithgirl...fun/]chat with girls[/url] [url= https://freewebcams.ml/]free porn cams[/url]
2019-04-09, 08:20:16
anonymous from Russian Federation  
rating
[url= https://buylasixfuro..furosemide 40[/url] [url= https://cheapprednis..e.com/]buy prednisolone[/url] [url= https://stromectolon..e.com/]buy stromectol online[/url] [url= https://ventolinhfai..]proventil inhaler for sale[/url] [url= https://lasix0.com/]lasix water pill[/url]
2019-04-09, 09:05:14
anonymous from Russian Federation  
rating
2019-04-09, 09:25:57
anonymous from Russian Federation  
rating
[url= https://amateurwebca..live/]chat rooms with no registration[/url]
2019-04-09, 09:53:35
anonymous from Russian Federation  
rating
2019-04-09, 10:07:19
anonymous from Russian Federation  
rating
[url= https://freeonlinesex.top/]web cam nude[/url]
2019-04-09, 10:16:31
anonymous from Russian Federation  
rating
2019-04-09, 10:18:08
anonymous from Russian Federation  
rating
[url= https://freewebcamch...icu/]free webcam chat[/url] [url= https://freelivesexc..live/]free live sex chat[/url] [url= https://freeadultcam..cu/]online sex chat[/url] [url= https://teencam.ga/]teen cam chat[/url] [url= https://adultcams.gq/]adult cams[/url]
2019-04-09, 10:31:56
anonymous from Russian Federation  
rating
[url= https://prednisonege..c.com/]buy prednisone without prescription[/url]
2019-04-09, 10:43:16
anonymous from Russian Federation  
rating
[url= https://freechatroom..fun/]adult chat.net[/url] [url= https://freewebcamch..site/]free webcam chat[/url] [url= https://teencam.ga/]teen cam[/url] [url= https://freelivesex.site/]free live sex[/url] [url= https://freewebcams.ga/]free webcams[/url] [url= https://freeadultweb...fun/]free adult webcam[/url] [url= https://freewebcamch..ream/]free adult webcam[/url] [url= https://girlswebcam.site/]bbw webcam[/url] [url= https://webcamteens...am/]webcam teens[/url] [url= https://freewebcamch..t.fun/]xxx web cams[/url]
2019-04-09, 11:34:06
anonymous from Russian Federation  
rating
[url= https://zithromax500.com/]buy zithromax 500mg[/url] [url= https://valtrex500mg..m/]valtrex generic cost[/url] [url= https://albuterol24.com/]buy albuterol inhaler[/url] [url= https://stromectolon..com/]where to buy stromectol[/url] [url= https://acyclovir1.com/]buy acyclovair online[/url] [url= https://amoxicillin9..moxicillin 500mg capsules uk[/url] [url= https://ventolinhfai../]ventolin online[/url] [url= https://cialis3.com/]canada cialis[/url] [url= https://prednisone91..prednisone 5mg[/url] [url= https://cheapprednis..ednisolone sod[/url]
You are on page 4 of 29, other pages: 1 2 3 [4] 5 6 7 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: