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

Login with username, password and session length
   Home   Help Search Login Register  
Pages: [1]
Author Topic: php.ini version question please  (Read 4814 times)
0 Members and 1 Guest are viewing this topic.
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!
Customer, Basic Support
Posts: 544
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.

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.

Advanced PHP and MySQL Solutions for your Web Design and Development needs with Web.Developer Server Suite.
Pages: [1]
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!