Hi
How can I install php pear::mail in php engines, I run a website and I have to use a webform with mail to smtp
server and the webform gives this error
The php extension PEAR::Mail required for sending via a mail server is unfortunately not available on your web
I run ClearOS release 7.8.1 (Final) community
Claus
How can I install php pear::mail in php engines, I run a website and I have to use a webform with mail to smtp
server and the webform gives this error
The php extension PEAR::Mail required for sending via a mail server is unfortunately not available on your web
I run ClearOS release 7.8.1 (Final) community
Claus
In PHP Engines
Share this post:
Accepted Answer
Claus wrote:
Hi
I have all ready tried that but the error is the same, I think the code
will have somthing to do with the rh-php72 because I use php engines
I can find this in my system
rh-php72-php-pear.noarch
but I can find this rh-php72-php-pear-mail
yum search all rh-php72-php-pear-mail --enablerepo=*
Claus
The php-mail is not a package to need to install by yum or rpm
You must the mail package install by pear command.
try:
/opt/rh/rh-php72/root/usr/bin/pear install Mail
Responses (3)
-
Accepted Answer
-
Accepted Answer
Hi
I have all ready tried that but the error is the same, I think the code
will have somthing to do with the rh-php72 because I use php engines
I can find this in my system
rh-php72-php-pear.noarch
but I can find this rh-php72-php-pear-mail
yum search all rh-php72-php-pear-mail --enablerepo=*
Claus -
Accepted Answer
Claus wrote:
Hi
How can I install php pear::mail in php engines, I run a website and I have to use a webform with mail to smtp
server and the webform gives this error
The php extension PEAR::Mail required for sending via a mail server is unfortunately not available on your web
I run ClearOS release 7.8.1 (Final) community
Claus
Check if php-pear is already installed
rpm -qa|grep php-pear
if not
yum install php-pear
Then you can install pear mail
pear install Mail
Restart web-server
service httpd restart
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here.
Register Here »