Unable to send emails in Laravel using Swift Mailer - proc_open() function disabled by the provider

后端 未结 2 1951
粉色の甜心
粉色の甜心 2020-12-07 04:00

My web host disabled proc_open function in php and I can\'t send emails anymore.

I get this error log:

> proc_open() has been disab         


        
2条回答
  •  隐瞒了意图╮
    2020-12-07 04:14

    Check and changes are your php.ini has this line.

    disable_functions = exec,system,dl,passthru,chown,shell_exec,popen,proc_open
    

    Check this a list of functions disabled by safe mode here.

    UPDATE
    Once you found that, follow below instruction: Remove the proc_open from the disable_functions at php.ini file

    OR

    Ask your hosting provider to remove the string above if you don't have an access/right to do that.

提交回复
热议问题