
Originally Posted by
pcsmart24
Hi,
This is the reply that WHMCS managed to sort out with cPanel.
Hi,
Well the actual issues, despite cPanel claiming they hadn't changed anything, was that a piping file is now required to have a hashbang line at the top of it - "#!/usr/local/bin/php", the readfile command we were using before to read in the email from the server has been blocked and fopen now has to be used, and the file permissions have to be set 755 or cPanel blocks the pipe from occuring. Although CHMOD to 755 has always been suggested, it was not required until cPanel 11.
Regards,
Matt
Hope that helps
Jason
Hi thanks for that i added the line to the pipe.php and now i get this error log in the pipe directory. I placed "#!/usr/local/bin/php" without quotes at very top of the file then i placed it under <php at top of file none of them made any difference.
Code:
[24-Jun-2007 19:44:32] PHP Parse error: syntax error, unexpected T_IF in /home/USERNAME/public_html/order/pipe/pipe.php on line 34
The email i get when i send to the address is as foillows
This message was created automatically by mail delivery software. A message that you sent could not be delivered to one or more of its recipients.
This is a permanent error. The following address(es) failed:
pipe to |/home/USERNAME/public_html/order/pipe/pipe.php
generated by support @ xxxxx.com
The following text was generated during the delivery attempt:
------ pipe to |/home/USERNAME/public_html/order/pipe/pipe.php
generated by support @ xxxxx.com
------ PHP Warning: Unknown(): Unable to load dynamic library './php_curl.so' - ./php_curl.so: cannot open shared object file: No such file or directory in Unknown on line 0
Any ideas or can you tell me exactly where you placed the HashBang also just so you dont need to ask line 34 is actually commented out text in the pipe.php file so shouldnt even effect it.
thanks for your help
Jay