I've jsut installed osTicket, and am having issues getting piping to work. Running on cPanel 11 apache server.
- I've set up forwarding as
|/home/myroot/public_html/support/api/pipe.php
- I've set the persmisisons on pipe.php to 764
- I've confirmed the hashbang to be
#!/usr/bin/php -q
I get the Mail delivery failed: returning message to sender
any ideas?
part way through the message is this:
------ pipe to |/home/myroot/public_html/support/api/pipe.php
generated by support@mydomain.com ------
Error in argument 1, char 3: option not found
Usage: php
php
-a Run interactively
-C Do not chdir to the script's directory
-c | Look for php.ini file in this directory
-n No php.ini file will be used
-d foo Define INI entry foo with value 'bar'
-e Generate extended information for debugger/profiler
-f Parse . Implies `-q'
-h This help
-i PHP information
-l Syntax check only (lint)
-m Show compiled in modules
-q Quiet-mode. Suppress HTTP Header output.
-s Display colour syntax highlighted source.
-v Version number
-w Display source with stripped comments and whitespace.
-z Load Zend extension .