Results 1 to 2 of 2

Thread: How to remove warning (.. IIS/FastCGI sapi, set fastcgi.logging to 0 in your php.ini)

  1. #1
    affy is offline Junior Member
    Join Date
    Oct 2011
    Posts
    2

    Question How to remove warning (.. IIS/FastCGI sapi, set fastcgi.logging to 0 in your php.ini)

    Hi,

    SugarCrm shows the following warning on every screen:
    "For optimal experience using IIS/FastCGI sapi, set fastcgi.logging to 0 in your php.ini file."
    The performance is fine, and I'm not able to access the php.ini because the site is hosted by another company on a shared server. Unfortunately, not only the administrator sees the warning, also the users get to see it on every page. Is there any way to turn that off?

    Note: I made SugarCrm-install ignore the problem by changing line 64 and 102 of .\install\installSystemCheck.php into && ini_get('fastcgi.logging') != '1'). This fixed the blocking error about the same setting and lets SugarCrm install fine. Almost there...

    Can anyone help me out? Thanks in advance!

    Regards,
    Ralph.

  2. #2
    affy is offline Junior Member
    Join Date
    Oct 2011
    Posts
    2

    Default Re: How to remove warning (.. IIS/FastCGI sapi, set fastcgi.logging to 0 in your php.

    Found it..

    By changing line 68 of ./modules/Administration/DisplayWarnings.php to

    if ( (strpos($_SERVER["SERVER_SOFTWARE"],'Microsoft-IIS') !== false) &&
    (php_sapi_name() == 'cgi-fcgi') && (ini_get('fastcgi.logging') != '1') ) {

    If I'm doing it wrong, let me know!

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Similar Threads

  1. fastcgi.logging=0 impossible
    By anibol in forum Installation and Upgrade Help
    Replies: 1
    Last Post: 2011-02-21, 06:04 PM
  2. SugarCRM and FastCGI problem
    By Dave_Du in forum Installation and Upgrade Help
    Replies: 2
    Last Post: 2010-03-15, 12:26 PM
  3. fastcgi.logging to 0 in your php.ini file
    By aproweb2 in forum Installation and Upgrade Help
    Replies: 3
    Last Post: 2010-03-03, 05:59 PM
  4. Replies: 5
    Last Post: 2009-06-15, 03:50 PM
  5. FastCGI Problem with SugarCRM
    By hcg in forum Help
    Replies: 2
    Last Post: 2005-06-22, 01:03 AM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •