View Single Post
  #1  
Old 15th April 2011, 04:32
scottrill2 scottrill2 is offline
HowtoForge Supporter
 
Join Date: Dec 2009
Posts: 93
Thanks: 21
Thanked 2 Times in 1 Post
Default Custom php.ini settings field format.

I had a quick question about how the formatting (word wrap?) occurs in the "Custom PHP.ini Settings" Box/field.



I have a bunch of php settings saved in a regular text doc. In the doc it appears like so:

Code:
# Protect mail forms against spammer attacks (Effectively disables any headers
# injected from user input. Very important.
suhosin.mail.protect=2


It is all nice and neat with each line having either a comment character followed by text to remind me what the heck it does, or it has the command itself.

Now when I paste the commands into the custom php.ini settings box in ISPConfig 3 it butchers it sorta. I don't whether it is because of word wrapping or what. But it looks like so:


Code:
# Protect mail forms against spammer attacks (Effectively 
disables any headers
# injected from user input. Very important.
suhosin.mail.protect=2

Do I need to do anything special when I paste into that box? Do I need to add another "#" infront of "disables" ? Will the way it is displayed return an error or perhaps not let the php setting be applied?


Thanks as always folks,

Scott

Last edited by scottrill2; 15th April 2011 at 04:33. Reason: Typos
Reply With Quote
Sponsored Links