Email pipe to PHP script stop working suddenly

Operating System & Version
centos 7
cPanel & WHM Version


Mar 30, 2023
cPanel Access Level
Root Administrator

I am using cPanel Pipe to function to my PHP script using the modified following code to insert email to mysqli:

All was working fine over a month. Today when I first tested it worked fine and insert email to mysqli successfully. But then suddenly it stop working and giving me the following error:

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/MYHOME/public_html/mail.php
generated by [email protected]

The following text was generated during the delivery attempt:

------ pipe to |/home/MYHOME/public_html/mail.php
generated by [email protected] ------

Exception: Zend Extension /home/MYHOME/public_html/mail.php does not exist
Reporting-MTA: dns;

Action: failed
Final-Recipient: rfc822; [email protected]
Status: 5.0.0
I have removed and add pipe to PHP script again but it's till not working. Also I have make no changes to original code which was working fine over a month now.

Kindly provide a solution ASAP.

Thank you.