Hi everyone,
I am implementing a custom external authentication module using PHP script and authenticate via SOAP service.
- After read and analysis the STDIN data I call auth function use CURL/SOAP bypass https.
- The script work well when execute in command line and web browser.
- But when integrate to Ejabberd then it has not worked.
- After debug I found out the cause: PHP when run in Ejabberd load missing CURL and SOAP extensions. (I logged PHP get_extension_funcs() in PHP and in PHP command line. The result is diffirent, in Ejabberd load missing extension)
How I do to add CURL extension for PHP that run in Ejabbed?
Please help me?
Thanks & Best regards,
Tuan Anh