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.

Customer error_log in one file

Discussion in 'CloudLinux' started by rahnev, Dec 15, 2016.

Tags:
  1. rahnev

    rahnev Member

    Joined:
    Jul 6, 2016
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bulgaria
    cPanel Access Level:
    Root Administrator
    Is there a way to create only one error_log file per customer? Now error_log files are generated in every folder where there is an error.
    System is using: cPanel + Cloudlinux + GageFS.

    I know of a way using using custom php.ini (CloudLinux Documentation) but it's difficult to release because have to edit every customer configuration in CageFS.

    Is there some other way?
     
  2. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    32,789
    Likes Received:
    865
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    Could you elaborate on the specific method you are referring to? Would a bash script to run the command you are referring to for every username on the system help?

    Thank you.
     
  3. rahnev

    rahnev Member

    Joined:
    Jul 6, 2016
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bulgaria
    cPanel Access Level:
    Root Administrator
    We use "native" php version of the server and this method is valid only for alt-php versions.
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    32,789
    Likes Received:
    865
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Could you verify which PHP handler is enabled on the system (e.g. suPHP, DSO)?

    Thank you.
     
  5. rahnev

    rahnev Member

    Joined:
    Jul 6, 2016
    Messages:
    13
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Bulgaria
    cPanel Access Level:
    Root Administrator
    PHP Handler is SuPHP.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    32,789
    Likes Received:
    865
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
Loading...

Share This Page