Skip to main content

with php73 PIPE email = SUCCESS!, with php74 = FAIL, why?

Comments

26 comments

  • cPanelChris
    Hello @000 , Are you seeing any entries in the PHP error logs when this error occurs?
    0
  • 000
    Hello @000 , Are you seeing any entries in the PHP error logs when this error occurs?

    Thanks, in both cases 0 errors. Sapmplely cPanel no"t read STDIN with 7.4 However with 7.3 ALL run fine
    0
  • cPanelChris
    Hello @000 , Thank you for the update. I would recommend checking that the PHP 7.3 and PHP 7.4 configurations match to ensure there aren't any issues there. Does PHP 7.3 have any extensions that are missing in PHP 7.4. Is PHP 7.4 disabling any functions that PHP 7.3 allows? I would also recommend reviewing the PHP
    0
  • 000
    Hello @000 , Thank you for the update. I would recommend checking that the PHP 7.3 and PHP 7.4 configurations match to ensure there aren't any issues there. Does PHP 7.3 have any extensions that are missing in PHP 7.4. Is PHP 7.4 disabling any functions that PHP 7.3 allows? I would also recommend reviewing the PHP password_algos()
    or similar. Also we use this in our "smtp.php": ini_set('display_errors', 1); error_reporting(E_ALL);
    ever when we use PHP 7.4, the sender get this answer:local delivery failed Action: failed Final-Recipient: rfc822;admin@avast.com Status: 5.0.0
    can you confirm your sercer cPanel execute/run correctlly PIPE/STDIN using PHP 7.4 ? thanks
    0
  • 000
    can you confirm your sercer cPanel execute/run correctlly PIPE/STDIN using PHP 7.4 ?

    * CONFIRM :-)
    0
  • cPanelChris
    Hello @000 , I'm not exactly sure what you are asking. Are you asking if PHP 7.4 is able to read piped data from stdin? If so, then yes. The example below shows this. # cat test.php $var=file("php://stdin"); var_dump($var); # echo -n "piped data test"|/opt/cpanel/ea-php74/root/usr/bin/php test.php array(1) { [0]=> string(15) "piped data test" }
    0
  • 000
    Are you asking if PHP 7.4 is able to read piped data from stdin? If so, then yes.

    Thanks, our server only do this with php 7.3, php 7.4 = NULL. What we can do?
    0
  • cPanelChris
    Hello @000 , You ran the test above and it returned NULL? If so, I would advise opening a ticket so we can look into this deeper. This can be done from the link in my signature, or from the following location in WHM. Home " Support " Create Support Ticket
    0
  • 000
    Hello @000 , You ran the test above and it returned NULL? If so, I would advise opening a ticket so we can look into this deeper. This can be done from the link in my signature, or from the following location in WHM. Home " Support " Create Support Ticket

    Thanks Chris. if we open TICKET can YOU look? (no other thecnic, YOU) else: how we can open T and asign T to CHRIS from cPanel ? Regads
    0
  • 000
    Thanks Chris. if we open TICKET can YOU look? (no other thecnic, YOU) else: how we can open T and asign that T to CHRIS from cPanel ? Regads

    0
  • 000
    we do THE SAME TEST in OTHER server and result is the SAME: with PHP 7.3 good, with PHP 7.4 BREAK Logically is necessary SEND email, and no OPEN file.php from browser. Who can give solutio to this BUG in PHP 7.4 ? Some idea about how to fix this error in PHP 7.4 ?
    0
  • 000
    >>> I would advise opening a ticket so we can look into this deeper. Thanks, by four days we are waiting, (T# 93903103). Last answer, (three days back): " would be best to escalate the ticket to Level 4/QA for further review. " What means Level 4/QA ? How many time for a solution? 4 weeks, 4 months ... ?
    0
  • George_Fusioned
    Are you using MultiPHP Manager to change PHP versions, or CloudLinux's PHP Selector? Are you sure that in PHP 7.4 your script is using the php-cli binary and not the php-cgi one?
    0
  • 000
    Thanks Wintech2003
    Are you using MultiPHP Manager to change PHP versions, or CloudLinux's PHP Selector?

    MultiPHP Manager
    Are you sure that in PHP 7.4 your script is using the php-cli binary and not the php-cgi one?

    our SCRPT return CLI for[PHP]echo PHP_SAPI;[/PHP] And last answer from staff cpanel is: " would be best to escalate the ticket to Level 4/QA for further review. " 5 days back ...
    0
  • George_Fusioned
    On the pipe do you use |/usr/bin/php -q [path to your script] or |/usr/local/bin/php -q [path to your script] or do you specify the exact binary ie |/opt/cpanel/ea-php74/root/usr/bin/php [path to your script] ? Also, does your script have a shebang? If so, what is it? A symlink like /usr/local/bin/php or an exact path like /opt/cpanel/ea-php74/root/usr/bin/php ?
    0
  • 000
    On the pipe do you use |/usr/bin/php -q [path to your script] or |/usr/local/bin/php -q [path to your script] or do you specify the exact binary ie |/opt/cpanel/ea-php74/root/usr/bin/php [path to your script] ? Also, does your script have a shebang? If so, what is it? A symlink like /usr/local/bin/php or an exact path like /opt/cpanel/ea-php74/root/usr/bin/php ?

    Again: THANKS MASTER. Please remember: script run "PERFECT" in ALL versions PHP, ONLY with PHP 7.4 result = FAIL. With this, YES: shebang, CHMOD, location, etc... ALL is fine. Only fail with PHP 7.4 and now is DAY #5 waiting answer from " would be best to escalate the ticket to Level 4/QA for further review. " Again: what means 4/QA ?
    0
  • cPRex Jurassic Moderator
    Hey there @000 Level 4 means that the ticket is with our development team. It likely will not receive replies as quickly as you are used to with our standard support team, but it's still being worked on and you'll get details as soon as we have them. I do see one of our technicians replied to that ticket about one hour ago and asked for some additional details.
    0
  • 000
    ...it's still being worked on and you'll get details as soon as we have them.

    Thanks by your help. 5 hours back we reply.
    0
  • 000
    :-O
    0
  • cPRex Jurassic Moderator
    @000 - the team that handles that ticket normally works at 8AM Central US time, so there isn't anyone to reply during ourovernight hours as it is no longer with our normal technical support team that is staffed 24x7. That's why you're seeing a delay in the reply times.
    0
  • 000
    Regards master, your explication/aclaration is very valid for me. :) You also can check problem or ONLY they?
    0
  • 000
    Hey there @000 Level 4 means that the ticket is with our development team. It likely will not receive replies as quickly as you are used to with our standard support team, but it's still being worked on and you'll get details as soon as we have them. I do see one of our technicians replied to that ticket about one hour ago and asked for some additional details.

    Mr Kyle Pinkley repair error. I unknow how, but the TWO errors go out. Many thanks staff cPanel by your patience. Now PIPE run "PERFECT" over any version of PHP. (including version of customer: PHP 7.4 :-) ) Regards!
    0
  • cPRex Jurassic Moderator
    I'm glad @cPanelKyle was able to help get things working with you. It seems there were issues with the jailshell environment on your server that he was able to resolve, specifically with the /var/cpanel/jailshell-additional-files file on the system.
    0
  • 000
    I'm glad @cPanelKyle was able to help get things working with you. It seems there were issues with the jailshell environment on your server that he was able to resolve, specifically with the /var/cpanel/jailshell-additional-files file on the system.

    next time, (in other server) how we can fixed this error? what steaps execute?
    0
  • cPanelKyle
    Hello, If this issue happens on another server, make sure that you have the file /var/cpanel/jailshell-additional-files with this in it: /home/full_php_browscap-2020-09.ini
    (replace the path with the correct path and file with the correct filename)
    0
  • 000
    Hello, If this issue happens on another server, make sure that you have the file /var/cpanel/jailshell-additional-files with this in it: /home/full_php_browscap-2020-09.ini
    (replace the path with the correct path and file with the correct filename)

    Many thanks by your patience with my bad English. Namaste!
    0

Please sign in to leave a comment.