Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 3 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Reply
 
Thread Tools Display Modes
  #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
  #2  
Old 15th April 2011, 14:24
falko falko is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 41,701
Thanks: 1,900
Thanked 2,743 Times in 2,577 Posts
 
Default

I guess this happens because of automatic word wrapping. I don't think ISPConfig adds a line break, so I don't think you have to add another #.
__________________
Falko
--
Download the ISPConfig 3 Manual! | Check out the ISPConfig 3 Billing Module!

FB: http://www.facebook.com/howtoforge

nginx-Webhosting: Timme Hosting | Follow me on:
Reply With Quote
The Following User Says Thank You to falko For This Useful Post:
scottrill2 (15th April 2011)
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Postfix delivery problem erebus Installation/Configuration 8 29th July 2014 20:17
[The Perfect Spamsnake Ubuntu 10.10] - No mail relay, just errors. itsnedkeren HOWTO-Related Questions 2 20th February 2011 10:45
Custom php.ini settings missing kevin186 Installation/Configuration 2 22nd November 2010 08:36
post fix error after a year aberrio Server Operation 5 5th May 2009 21:33
Logsize issue cryptic General 46 7th April 2008 22:29


All times are GMT +2. The time now is 06:31.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.