Email Piping php has errors
I'm using a php script for email piping. If I run the script via shell it says:
: cannot open shared object file: No such file or directory
At the top of my script I'm using #!/usr/local/bin/php -z (if I use -q it doesn't work)
It still runs the script but bounces the email with Mail delivery failed: returning message to sender
Spent several hours trying to figure out if I'm missing a PHP extension.
PHP Version: 5.6
Server: CENTOS 7.4 virtuozzo
Cpanel Version: 70.0.18
SSH2: libssh2-1.4.3-10.el7_2.1.x86_64
-
I'm using a php script for email piping. If I run the script via shell it says: : cannot open shared object file: No such file or directory
Hello, Is that the full error output? What specific command are you using to test the PHP script? Thank you.0 -
The output error is: : cannot open shared object file: No such file or directory only if I type in the command line /home/username/public_html/file.php If I use php -f /home/username/public_html/file.php no errors show. But my problem is it keeps bouncing via email piping. Even if my script is blank, I get the same error, so I know it isn't the script but a server issue. It runs the script but also bounces this message: 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/file.php generated by ='test@domain.tld'>test@domain.tld The following text was generated during the delivery attempt: ------ pipe to |/home/username/public_html/file.php generated by ='test@domain.tld]test@domain.tld ------ Failed loading : : cannot open shared object file: No such file or directory 0 -
Hello, Could you open a support ticket so we can take a closer look? Create Support Ticket - Version 68 Documentation - cPanel Documentation Thank you. 0
Please sign in to leave a comment.
Comments
3 comments