Issue:

Error – Fatal error: Call to undefined method PEAR_Error::send()

Fix:

#cd /root/sourc

wget http://download.pear.php.net/package/Mail-1.1.14.tgz

wget http://download.pear.php.net/package/Net_SMTP-1.2.10.tgz

wget http://download.pear.php.net/package/Net_Socket-1.0.8.tgz

Extract it

now copy the extracted files to /usr/local/lib/php/

#cd /usr/local/lib/php
mkdir Net
cd Net
cp /root/source/Net_SMTP-1.2.10/SMTP.php .
cp /root/sourceNet_Socket-1.0.8/Socket.php .
cd ..
cp -avr /root/sourceMail-1.1.14/Mail/ .
cp -avr /root/source/Mail-1.1.14/Mail.php .


Shares
Contact Us On WhatsApp