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!

Fixup Piped Program

Discussion in 'cPanel Developers' started by jeffsherk, Nov 1, 2009.

  1. jeffsherk

    jeffsherk Registered

    Jan 4, 2008
    Likes Received:
    Trophy Points:
    When uploading a php script on our server, if you manually add a hashbang and manually make it executable (chmod 764), then when you try to pipe an email to the script it fails.

    If on the other hand, you upload the same script with NO hashbang and do not set the persmissions, then when you try to pipe an email from cPanel Email Forwarders, it will tell you that the hashbang is missing and that it is not executable... you can then click on Fixup Piped Program to allow cPanel to fix the problem, and then the script will succesfully run.

    What exactly is Fixup Piped Program doing besides adding a hashbang and changing the permissions? Once the script has been fixed up and is working, if you copy the hashbang and note the permissions (764) and then try to manually add them to a script, it does not work... it only works when I allow cPanel to use the Fixup Piped Program!

    Any ideas?

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