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 PHP config file not found: /etc/cpanel/ea4/php.conf

Discussion in 'EasyApache' started by opt2bout, Jan 9, 2016.

  1. opt2bout

    opt2bout Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    After the 54 current release update on our servers cronjobs are not running that run PHP scripts...we get:

    EasyApache PHP config file not found: /etc/cpanel/ea4/php.conf

    However, if we run the script from the command line, it runs fine.
     
  2. cPDavidN

    cPDavidN cPanel Developer
    Staff Member

    Joined:
    Mar 19, 2013
    Messages:
    42
    Likes Received:
    3
    Trophy Points:
    8
    cPanel Access Level:
    DataCenter Provider
    Hello,

    Would you mind opening a support ticket about this? cPanel Customer Portal

    My first guess is that the affected user is using jailshell (or no shell access) or is under CloudLinux' CageFS, and don't have access to that file. It could also be that there is some difference in the environment; the environment of cron jobs is substantially different from that of the command line. It could also be something totally different.

    As a workaround, you might have your user execute the cron job via web request rather than from the command line, with wget -O https://domain.tld/path/to/cron.php. For security, you should configure .htaccess for the directory containing the php cron script so that it can't be accessed by IP addresses other than 127.0.0.1 or ::1.

    David Nielson
     
  3. opt2bout

    opt2bout Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    Okay, I'll open up a ticket. One account is a jailed shell, the others have their shell disabled. We are not using cloudlinux. These jobs worked before the 54 update.
     
  4. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

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

    As an update, we've opened case CPANEL-3680 and we're working on getting a fix in ASAP. Thanks!
     
  5. chrisgrigg

    chrisgrigg Registered

    Joined:
    Jan 20, 2013
    Messages:
    1
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    This is a huge issue and has caused a big issue with billing and a lot of other problems on my server with WHMCS and my clients are having issues as well.
     
  6. cPJacob

    cPJacob cPanel Product Owner
    Staff Member

    Joined:
    May 2, 2014
    Messages:
    509
    Likes Received:
    64
    Trophy Points:
    28
    cPanel Access Level:
    DataCenter Provider
    Twitter:
    Morning,

    This issue was fixed in v54, and the fix is in v56 and v58. Are you still getting errors?
     
  7. opt2bout

    opt2bout Well-Known Member

    Joined:
    Nov 10, 2006
    Messages:
    58
    Likes Received:
    0
    Trophy Points:
    6
    I can confirm that this issue was resolved way back just after I opened the thread!
     
Loading...

Share This Page