Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

SOLVED Custom profile not showing

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

Tags:
  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. JacobPerkins

    JacobPerkins Well-Known Member

    Joined:
    May 2, 2014
    Messages:
    619
    Likes Received:
    96
    Trophy Points:
    103
    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:
    43,667
    Likes Received:
    1,788
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  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:
    43,667
    Likes Received:
    1,788
    Trophy Points:
    363
    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.
     
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
  7. cPanelMichael

    cPanelMichael Forums Analyst
    Staff Member

    Joined:
    Apr 11, 2011
    Messages:
    43,667
    Likes Received:
    1,788
    Trophy Points:
    363
    cPanel Access Level:
    Root Administrator
    Stop hovering to collapse... Click to collapse... Hover to expand... Click to expand...
Loading...

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice