The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

easyapache generates broken php.ini

Discussion in 'EasyApache' started by AlexVB, Apr 11, 2011.

  1. AlexVB

    AlexVB Member

    Joined:
    Oct 23, 2007
    Messages:
    13
    Likes Received:
    1
    Trophy Points:
    1
    11.28.87-RELEASE_51188

    I've noticed that easyapache generates incorrect php.ini file.

    For example, after easyapache execution there are 2 "extension =" lines, three "doc_root =" lines, three "auto_append_file" lines, etc...

    Is it ok? Or if it the bug - will it be fixed?

    Thanks.
     
  2. bhd

    bhd Well-Known Member

    Joined:
    Sep 20, 2003
    Messages:
    149
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    JNB ZA
    cPanel Access Level:
    Root Administrator
    Had the same problem. Error logs were becoming huge with
    Code:
    PHP Warning:  PHP Startup: Unable to load dynamic library '/usr/local/lib/php/extensions/no-debug-non-zts-20090626/' - /usr/local/lib/php/extensions/no-debug-non-zts-20090626/: cannot read file data: Is a directory in Unknown on line 0
    Removing the un-commented line
    Code:
     extension =
    from /usr/local/lib/php.ini fixed it.

    Love to see this fixed too.
     
  3. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    Did you use the WHM > PHP Configuration Editor to edit the php.ini at any point? If so, we have resolved cases (47683 and 46972) in 11.29/11.30 that were related to duplicate entries being put into the global php.ini at /usr/local/lib/php.ini when using that editor. This could explain what is happening if you had used it anyway.

    Otherwise, if this was only due to running EasyApache, please submit a ticket and confirm that we can rebuild using EasyApache to see this happening and determine the cause. You can open up a ticket using WHM > Support Center > Contact cPanel or via the link in my signature.
     
  4. AlexVB

    AlexVB Member

    Joined:
    Oct 23, 2007
    Messages:
    13
    Likes Received:
    1
    Trophy Points:
    1
    Ok. Yes, i did.
    And another question - is this fix will be available for RELEASE (11.28)?
     
    #4 AlexVB, Apr 13, 2011
    Last edited: Apr 13, 2011
  5. cPanelTristan

    cPanelTristan Quality Assurance Analyst
    Staff Member

    Joined:
    Oct 2, 2010
    Messages:
    7,623
    Likes Received:
    21
    Trophy Points:
    38
    Location:
    somewhere over the rainbow
    cPanel Access Level:
    Root Administrator
    The cases are not currently implemented into 11.28 but you can review the changelog at the following location to see when any set case is pushed into any version:

    Change Logs

    You can check your current version by running this command:

    Code:
    cat /usr/local/cpanel/version
    You can check the most recent versions for each tier at this location:

    Downloads - cPanel Inc.

    At this time, if you need to make changes to the global php.ini file at /usr/local/lib/php.ini location, you would want to do so in root SSH manually without using the WHM > PHP Configuration Editor.
     
Loading...

Share This Page