Community Forums
Connect with us on LinkedIn
+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Member
    Join Date
    Jun 2002
    Location
    Tokyo
    Posts
    71

    Default php configuration editor problem

    php configuration editor saves php.ini in which extra spaces are added to some directive values as below:

    session.save_handler = "files "

    the above one caused a problem that a php web application namely XOOPS were unable to override the session save handler using the php session_set_save_handler() function, causing no session being saved thus nobody being able to login (XOOPS needs to use DB to save session data). I modified the above directive manually as below and all started to work again as usual.

    session.save_handler = "files"

    why does the editor add extra spaces to the directive values? will this be fixed in the future releases?

  2. #2
    Technical Product Specialist cPanelDavidG's Avatar
    Join Date
    Nov 2006
    Location
    Houston, TX
    Posts
    11,189
    cPanel/Enkompass Access Level

    Root Administrator

    Default

    This is a known and confirmed bug: http://bugzilla.cpanel.net/show_bug.cgi?id=6060

  3. #3
    Registered User
    Join Date
    Aug 2005
    Posts
    4

    Default

    I really hope this gets fixed soon (the original bug report was in October of 2007). I just had this happen to me. I used WHM's PHP Configuration Editor in advanced mode to bump up one setting from 32 to 64. But by using the editor, it also added spaces to several other settings that I didn't change.

    For example:

    Code:
    session.serialize_handler ="php"
    became

    Code:
    session.serialize_handler = "php     "
    which of course broke all the pages using php sessions.
    Last edited by jamiemcd; 04-22-2008 at 11:54 AM.

  4. #4
    Registered User
    Join Date
    May 2004
    Location
    SE Michigan
    Posts
    13

    Default

    This is still a problem on our servers.

    I modified the php.ini via the WHM Php Configuration Editor and it put spaces in these two variables:

    session.serialize_handler ="php "
    session.save_handler = "files "

    http://bugzilla.cpanel.net/show_bug.cgi?id=6060

    I see the bug has been marked as fixed/resolved in the bug report:

    <snip>
    ------- Comment #4 From Kenneth Power 2008-05-28 14:26 [reply] -------

    This is fixed in the 11.23 series.
    </snip>

    Our servers are running the following release:

    WHM 11.23.2 cPanel 11.23.3-R25971
    CENTOS Enterprise 4.6 i686 on virtuozzo - WHM X v3.1.0

    Can someone clarify?

    Thanks!

    Deborah Smith
    Server and Technical Support
    San Francisco Host

  5. #5
    Registered User
    Join Date
    May 2004
    Location
    SE Michigan
    Posts
    13

    Default

    Bug 7157 Submitted

Similar Threads & Tags
Similar threads

  1. php.ini EZconfig (PHP configuration editor)
    By klm4 in forum cPanel and WHM Discussions
    Replies: 7
    Last Post: 11-30-2010, 05:41 PM
  2. php.ini EZconfig (PHP configuration editor)
    By dylanu2010 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-24-2010, 01:31 AM
  3. php.ini EZconfig (PHP configuration editor)
    By dylanu2010 in forum cPanel and WHM Discussions
    Replies: 3
    Last Post: 11-24-2010, 01:31 AM
  4. Outdated PHP Configuration Editor
    By thobarn in forum Archived Feature Requests
    Replies: 2
    Last Post: 07-07-2010, 10:07 PM
Linkedin       Facebook       Twitter       RSS       Flickr       YouTube