DelphiFAQ Home Search:

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

 

comments30 comments. Current rating: 2 stars (29 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 2 of 2, other pages: 1 [2]
2019-04-08, 19:35:35
anonymous from Russian Federation  
rating
[url= https://freewebcamgi..s.top/]hot webcam girls[/url] [url= https://camtocam.fun/]free cam to cam[/url] [url= https://camsites.site/]mature webcam sex[/url] [url= https://onlinegirls.top/]talk to girls online[/url] [url= https://adultchatroo..site/]free live sex chat[/url]
2019-04-08, 19:37:24
anonymous from Russian Federation  
rating
[url= https://freeliveporn.fun/]free live sex[/url] [url= https://sexcams.icu/]live sex cams[/url] [url= https://adultchatroo..cu/]erotic sex chat[/url] [url= https://freeadultchat.tk/]free adult video chat[/url] [url= https://freesexwebca...icu/]free sex webcam[/url] [url= https://nakedcam.fun/]naked cam[/url] [url= https://freeonlinese..un/]online sex chat[/url] [url= https://webcammastur...top/]live stream sex[/url] [url= https://freelivesex.gq/]free webcam sex[/url] [url= https://freeadultcam.fun/]free adult cams[/url]
2019-04-08, 19:58:59
anonymous from Russian Federation  
rating
2019-04-08, 20:32:55
anonymous from Russian Federation  
rating
2019-04-08, 21:13:08
anonymous from Russian Federation  
rating
[url= https://freeadultvid...icu/]chat sex free[/url] [url= https://bbwcams.site/]teen cams[/url] [url= https://freesexchatr..ream/]free adult chat rooms[/url] [url= https://girlcam.stream/]girl cam[/url] [url= https://onlinegirls.top/]girls webcam[/url] [url= https://freewebcam.gq/]my free web cam[/url] [url= https://adultchatroo..s.gq/]free adult chat rooms[/url] [url= https://freeliveporn.icu/]free porn cams[/url] [url= https://hotwebcamgir..site/]nude mature[/url] [url= https://freesexcam.top/]free sex chat[/url]
2019-04-08, 21:19:53
anonymous from Russian Federation  
rating
[url= https://cialis3.com/]cialis canada[/url] [url= https://valtrex500mg.com/]buy valtrex online[/url] [url= https://acyclovir1.com/]where to buy acyclovir[/url] [url= https://tadalafil24...afil[/url] [url= https://lisinoprilze..lisinopril without an rx[/url]
2019-04-08, 21:26:31
anonymous from Russian Federation  
rating
2019-04-08, 21:42:09
anonymous from Russian Federation  
rating
[url= https://buydoxycycli..com/]where to buy doxycycline[/url] [url= https://buysildenafi..sildenafil india[/url] [url= https://buyamoxicill..moxicillin without prescription[/url] [url= https://lisinopril0...lisinopril 20mg tablets[/url] [url= https://prednisonege..c.com/]buy prednisone no prescription[/url]
2019-04-08, 21:43:41
anonymous from Russian Federation  
rating
2019-04-08, 21:48:16
anonymous from Russian Federation  
rating
[url= https://freeadultweb..site/]free adult webcam chat[/url] [url= https://freewebcams.ga/]free webcams[/url] [url= https://hotwebcamgir..un/]webcam models[/url] [url= https://interactives..nteractive sex[/url] [url= https://nudelive.fun/]live nude chat[/url]
2019-04-08, 21:51:32
anonymous from Russian Federation  
rating
2019-04-08, 22:00:45
anonymous from Russian Federation  
rating
[url= https://freelivesexc..site/]free live sex cams[/url] [url= https://camgirls.ga/]web cam girls[/url] [url= https://sexchatfree...ream/]free adult chat[/url] [url= https://freeadultcam..op/]webcam sex videos[/url] [url= https://freesexchat.cf/]sex chat free[/url]
2019-04-08, 23:26:08
anonymous from Russian Federation  
rating
[url= https://adultsexchat.icu/]free chat cam[/url] [url= https://freesexwebca..ream/]free sex webcam[/url] [url= https://freeadultweb..site/]free adult webcam chat rooms[/url] [url= https://camdolls.top/]virtual pov sex[/url] [url= https://videosexchat..fun/]video sex chat[/url]
2019-04-08, 23:35:34
anonymous from Russian Federation  
rating
2019-04-08, 23:56:37
anonymous from Russian Federation  
rating
[url= https://valtrex500mg..m/]valtrex 500mg[/url] [url= https://doxycycline2..oxycycline 150 mg[/url] [url= https://prednisolone..1.com/]buy cheap prednisolone[/url] [url= https://amoxicillin9..moxicillin 500mg[/url] [url= https://genericciali..m/]generic cialis for sale[/url] [url= https://lasix0.com/]buy lasix[/url] [url= https://synthroid1.c..]synthroid no prescription[/url] [url= https://buysildenafi..0.com/]buy sildenafil online[/url] [url= https://tadalafil20t..afil[/url] [url= https://cialis3.com/]cialis canada online pharmacy[/url]
You are on page 2 of 2, other pages: 1 [2]

 

 

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: