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.

Custom profile not showing

Discussion in 'EasyApache' started by jollyboy40, May 20, 2016.

  1. jollyboy40

    jollyboy40 Member

    Joined:
    Dec 2, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Norwich, UK
    cPanel Access Level:
    Root Administrator
    I've updated to EasyApache4 and now want to create a profile for a web server serving PHP7. Following the instructions in the Docs, I've created a profile and placed it within /etc/cpanel/ea4/profiles/custom/

    However, when I go to EasyApache4, the profile is not there. According to the docs, that should be it, so I'm not sure where I've gone wrong.

    I then found some docs for installing profiles within EasyApache4. Even though the docs or creating a profile don't mention this, I tried to follow it anyway, but there is no Start button and no New Profile button!

    Any ideas?
     
  2. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

    Joined:
    May 2, 2014
    Messages:
    508
    Likes Received:
    64
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Hi Jollyboy40!

    One of the things about those profiles, is that if they are not valid JSON, or fully JSON compliant, they will not load. There's a tool in the documentation that can verify this is a valid JSON file or not: EasyApache 4 - Create a profile - EasyApache 4 - cPanel Documentation

    'To check for proper syntax, use the json_pp tool. This tool verifies whether the file uses a human-readable format.'
     
  3. jollyboy40

    jollyboy40 Member

    Joined:
    Dec 2, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Norwich, UK
    cPanel Access Level:
    Root Administrator
    Thanks Jacob.
    I ran my profile through an online JSON validator and it was fine. I saw that tool mentioned in the docs but am unclear where I can access it. Where is this tool?
     
  4. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    Hello,

    It's located at:

    /usr/local/cpanel/3rdparty/perl/522/bin/json_pp

    You can find usage examples at:

    json_pp - search.cpan.org

    Thank you.
     
  5. jollyboy40

    jollyboy40 Member

    Joined:
    Dec 2, 2015
    Messages:
    5
    Likes Received:
    0
    Trophy Points:
    1
    Location:
    Norwich, UK
    cPanel Access Level:
    Root Administrator
    Fancy getting that added to the docs? Would be better made easier to use, too.
     
  6. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    30,678
    Likes Received:
    651
    Trophy Points:
    113
    cPanel Access Level:
    Root Administrator
    I've opened a case with our documentation team to offer more information on this tool. I'll update this thread with more information once our documentation team reviews and acts on this case.

    Thank you.
     
Loading...

Share This Page