Web Hosting Forum | Lunarpages


*
Welcome, Guest. Please login or register.
Did you miss your activation email?



Login with username, password and session length
May 22, 2012, 06:30:32 AM

Pages: [1]   Go Down
  Print  
Author Topic: Forwarder Pipe to Program after Cpanel upgrade  (Read 1150 times)
tgibbons
Spaceship Captain
*****
Offline Offline

Posts: 117


« on: November 25, 2010, 05:43:58 PM »

I'm having trouble getting an email forwarder to pipe to a program since the cpanel upgrade.

In the new version, I can no longer specify the path to php.  The instructions on the forwarder setup page say to include the path to php in a hashbang.  I've tried hashbangs of #!/usr/bin/php and #!/usr/local/bin/php with no luck.

My forwarder is defined as |/home/userid/public_html/script.php

Any help appreciated!
Logged

Tom
tgibbons
Spaceship Captain
*****
Offline Offline

Posts: 117


« Reply #1 on: December 01, 2010, 08:35:54 AM »

Just to follow-up, I got the answer from Lunarpages Support.

Changing the permissions on script.php from 644 to 755 did the trick.
Logged

Tom
Pages: [1]   Go Up
  Print  
 
Jump to: