View previous topic :: View next topic |
Author |
Message |
kev1952 -
Joined: 08 Sep 2005 Posts: 105 Location: Townsville Australia
|
Posted: Fri Jan 13, 2006 3:44 am Post subject: PHP.ini order |
|
|
Does it matter where in the INI file an instruction is inserted? I would like to put the "display_errors=Off" directive near the start of the file (so I can change it easily without having to scroll half way thought it). _________________ Cheers.... Kev
Kev's Place - http://www.kevsplace.com
Powered by Abyss X1. |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Fri Jan 13, 2006 1:49 pm Post subject: Re: PHP.ini order |
|
|
kev1952 wrote: | Does it matter where in the INI file an instruction is inserted? I would like to put the "display_errors=Off" directive near the start of the file (so I can change it easily without having to scroll half way thought it). |
The order does not count but each paramater must be inside its section (the lines that are of the form [section]). _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
kev1952 -
Joined: 08 Sep 2005 Posts: 105 Location: Townsville Australia
|
Posted: Fri Jan 13, 2006 2:37 pm Post subject: Re: PHP.ini order |
|
|
aprelium wrote: | The order does not count but each paramater must be inside its section (the lines that are of the form [section]). | Thanks for your reply on this one. The only [section] header I can find before "display_errors=Off" is [PHP]. From this I assume I can use the entry directly after that and before the instructions on the file? I appreciate your response and would just like to be sure. _________________ Cheers.... Kev
Kev's Place - http://www.kevsplace.com
Powered by Abyss X1. |
|
Back to top |
|
 |
aprelium -
Joined: 22 Mar 2002 Posts: 6800
|
Posted: Sat Jan 14, 2006 2:09 pm Post subject: Re: PHP.ini order |
|
|
kev1952,
Inside a given section, you can put parameters in any order. Sections (as a whole) also can be put in any order. _________________ Support Team
Aprelium - http://www.aprelium.com |
|
Back to top |
|
 |
xGraphite -
Joined: 15 Jan 2006 Posts: 1
|
Posted: Sun Jan 15, 2006 12:35 am Post subject: |
|
|
Just give it a try. The things I manipulate most on my dev box are all at the top of the .ini file. It is very possible that they are supposed to exist at a certain location, but mine work just fine at the top of the file. |
|
Back to top |
|
 |
kev1952 -
Joined: 08 Sep 2005 Posts: 105 Location: Townsville Australia
|
Posted: Sun Jan 15, 2006 6:34 am Post subject: |
|
|
I've moved the "display_errors" to the top (second line) of the file and it worked perfectly. Thanks all! _________________ Cheers.... Kev
Kev's Place - http://www.kevsplace.com
Powered by Abyss X1. |
|
Back to top |
|
 |
|