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!

email forwarding to script forcing user directory

Discussion in 'E-mail Discussion' started by schwim, Jun 3, 2010.

  1. schwim

    schwim Well-Known Member

    Joined:
    Aug 2, 2006
    Messages:
    213
    Likes Received:
    0
    Trophy Points:
    166
    Hi there everyone,

    I've moved a site using WHMCS from one cpanel install to another. Although I didn't have a problem on the departing server, I'm finding I have a problem with the new server.

    WHMCS wants me to create an email forward to "| php -q /home/username/public_html/whmcs/pipe/pipe.php", however, when I try this, it creates a forward to "| /home/username/php -q /home/username/public_html/whmcs/pipe/pipe.php" instead.

    I see the new warning at the bottom about relative directory with a link to wikipedia, but to completely honest, it doesn't do anything to help me figure out how to reformat this command to work in the later cpanel install.

    Any help on getting this working would be greatly appreciated.

    thanks,
    json
     
  2. schwim

    schwim Well-Known Member

    Joined:
    Aug 2, 2006
    Messages:
    213
    Likes Received:
    0
    Trophy Points:
    166
    Anyone? Help would be greatly appreciated.

    thanks,
    json
     
  3. eth00

    eth00 Well-Known Member
    PartnerNOC

    Joined:
    Mar 30, 2003
    Messages:
    723
    Likes Received:
    1
    Trophy Points:
    168
    Location:
    NC
    cPanel Access Level:
    Root Administrator
    Have you tried giving the full path to php?


    whereis php

    That will get you the path, just replace that with the php -q you have right now.
     
    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