DelphiFAQ Home Search:

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


comments23 comments. Current rating: 2 stars (23 votes). Leave comments and/ or rate it.


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


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():


Content-type: text/html


You are on page 2 of 2, other pages: 1 [2]
2020-07-27, 08:34:30
where can i buy tylenol online
2020-07-30, 19:12:58
Armand from Lebanon  
prednisone without dr prescription usa
2020-08-11, 15:12:33
Valeria from Duncan, United States  
I am really impressed with your writing skills as well as with the layout on your blog.

Is this a paid theme or did you modify it yourself?
Anyway keep up the nice quality writing, it's rare to see a great blog like
this one these days.
listerine for acne treatment
listerine for acne treatment
2020-08-11, 15:44:18
Chun from Duncan, United States  
I appreciate, lead to I found just what I was having a look for.
You've ended my four day long hunt! God Bless you man. Have a
great day. Bye
keracnyl pp cream acne prone skin
antibiotic cream for acne - -
2020-08-18, 06:52:01
Louie from Den Haag, Netherlands  
inhaler discounts
2020-08-21, 22:13:38
Jeanne from Dhaka, Bangladesh  
For most recent news you have to pay a visit the web and on internet I found this web page as a most excellent website for
hottest updates.
prep cream for acne
prep cream for acne
2020-09-01, 11:25:44
Reuben from Los Angeles, United States  
Hi there, I discovered your blog by means of Google even as looking for a
similar subject, your website got here up,
it appears great. I have bookmarked it in my google bookmarks.

Hi there, simply became alert to your weblog via
Google, and located that it's truly informative. I am gonna
be careful for brussels. I will be grateful should you proceed this in future.
Lots of other people shall be benefited out of your writing.
tiktok pa like kaise badhaye app download
tiktok pa like kaise badhaye app download
2020-09-14, 22:50:44
Imogen from Schonenwerd, Switzerland  
azithromycin 500mg
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: