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.

phpsanitycheck on WHM Upgrade

Discussion in 'General Discussion' started by Astral God, Jul 9, 2013.

  1. Astral God

    Astral God Well-Known Member

    Joined:
    Sep 27, 2010
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    On WHM upgrade, i'm having this message :

    Should i ignore this ?
    Thanks.
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello :)

    Please check the file attributes for "/usr/local/cpanel/3rdparty/etc/php.ini" with commands such as:

    Code:
    stat /usr/local/cpanel/3rdparty/etc/php.ini
    lsattr /usr/local/cpanel/3rdparty/etc/php.ini
    Do you see anything that would prevent it from being moved or overwritten?

    Thank you.
     
  3. Astral God

    Astral God Well-Known Member

    Joined:
    Sep 27, 2010
    Messages:
    180
    Likes Received:
    0
    Trophy Points:
    16
    Location:
    127.0.0.1
    cPanel Access Level:
    Root Administrator
    Code:
    root [~]# stat /usr/local/cpanel/3rdparty/etc/php.ini
      File: `/usr/local/cpanel/3rdparty/etc/php.ini'
      Size: 22920           Blocks: 48         IO Block: 4096   regular file
    Device: fd01h/64769d    Inode: 296570      Links: 1
    Access: (0644/-rw-r--r--)  Uid: (    0/    root)   Gid: (    0/    root)
    Access: 2013-07-18 03:42:39.944000003 +0200
    Modify: 2013-02-28 11:51:01.758114028 +0100
    Change: 2013-04-02 00:46:44.179000001 +0200
    
    Code:
    root [~]# lsattr /usr/local/cpanel/3rdparty/etc/php.ini
    -----a-------e- /usr/local/cpanel/3rdparty/etc/php.ini
    
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,723
    Likes Received:
    660
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    You can try moving the file out of the way and running another cPanel update. EX:

    Code:
    mv /usr/local/cpanel/3rdparty/etc/php.ini /usr/local/cpanel/3rdparty/etc/php.ini.backup
    /scripts/upcp --force
    Thank you.
     
Loading...

Share This Page