DeveloperSide.NET Forums
July 13, 2020, 06:03:14 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News:
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: php.ini version question please  (Read 4814 times)
0 Members and 1 Guest are viewing this topic.
wtk12
Member
*
Posts: 5


View Profile
« on: July 24, 2005, 04:03:42 AM »

Hi again,

I hope I haven't worn out my welcome yet ;)

I have quick question about the two different php.ini files in the php folder.

Which php.ini file is used, the "recommended" file or the "dist" file?

I know this seems like a no-brainer but I want to ensure I am doing everything correctly.  If the "dist" file is used by default should I edit it to refelect the settings in the "recommended" file?

I read that the "dist" file is for 'development purposes only' and the "recommended" file is for 'production purposes'.  I am not a developer (yet :D), I wish to use php in a production enviroment.  How should I edit the "dist" file to refelect the "recommended" file?  Should I simply rename the "recommended" file to "php.ini-dist" and delete the old "dist" file?

Also, are there any other changes that I need to impliment; ones that a newbie wouldn't think of doing on his/her own?



Thanks very much!
Logged
Jorge
Customer, Basic Support
Guru
*****
Posts: 544

jorge_schrauwen@msn.com
View Profile WWW
« Reply #1 on: July 24, 2005, 11:10:59 AM »

non of those are used to be exact.

php will use the first file called "php.ini" it find.
Placing one in c:\windows\ and the one that is located there will be used.

alternatively you can place it in the folder were apache.exe is located, and that one will also be used.
Logged

admin
Administrator
Master of All Subjects
*****
Posts: 3272


View Profile WWW Email
« Reply #2 on: July 24, 2005, 03:34:00 PM »

The PHP php.ini file is under C:\Windows\php.ini (OR C:\WINNT\php.ini).  The others are just an example.

And everything is already configured.
Logged

DeveloperSide.NET
Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.9 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!