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.

email forwarding to script forcing user directory

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

  1. schwim

    schwim Well-Known Member

    Joined:
    Aug 2, 2006
    Messages:
    198
    Likes Received:
    0
    Trophy Points:
    16
    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:
    198
    Likes Received:
    0
    Trophy Points:
    16
    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:
    18
    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.
     
Loading...

Share This Page