PHP.ini order

 
Post new topic   Reply to topic    Aprelium Forum Index -> PHP
View previous topic :: View next topic  
Author Message
kev1952
-


Joined: 08 Sep 2005
Posts: 105
Location: Townsville Australia

PostPosted: Fri Jan 13, 2006 3:44 am    Post subject: PHP.ini order Reply with quote

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 View user's profile Send private message Send e-mail Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Fri Jan 13, 2006 1:49 pm    Post subject: Re: PHP.ini order Reply with quote

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 View user's profile Send private message Send e-mail
kev1952
-


Joined: 08 Sep 2005
Posts: 105
Location: Townsville Australia

PostPosted: Fri Jan 13, 2006 2:37 pm    Post subject: Re: PHP.ini order Reply with quote

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 View user's profile Send private message Send e-mail Visit poster's website
aprelium
-


Joined: 22 Mar 2002
Posts: 6800

PostPosted: Sat Jan 14, 2006 2:09 pm    Post subject: Re: PHP.ini order Reply with quote

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 View user's profile Send private message Send e-mail
xGraphite
-


Joined: 15 Jan 2006
Posts: 1

PostPosted: Sun Jan 15, 2006 12:35 am    Post subject: Reply with quote

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 View user's profile Send private message
kev1952
-


Joined: 08 Sep 2005
Posts: 105
Location: Townsville Australia

PostPosted: Sun Jan 15, 2006 6:34 am    Post subject: Reply with quote

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 View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    Aprelium Forum Index -> PHP All times are GMT + 1 Hour
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB phpBB Group