Skip to content

CURL error: Connection timed out Issue when Using MNet #181

Open
@andisugandi

Description

@andisugandi

In order to MNet to be working properly in Moodle site (using this moodlehq/moodle-php-apache Docker image) the PHP must be compiled with XMLRPC Support: --with-xmlrpc in Configure Command. Please see It doesn't work. What do I do now?.

  • make sure xmlrpc is installed. Please go to your phpinfo page and search for --with-xmlrpc. If your php has not been compiled with xmlrpc then you need to address that! At present it appears that PEAR xmlrpc will not work.

I got the output of the php command bellow: --with-xmlrpc is not enabled (by default) in the moodlehq/moodle-php-apache image. Is it (please CMIIW)?

$ php -i | grep 'Configure \Command'

Configure Command =>  './configure'  '--build=x86_64-linux-gnu' '--with-config-file-path=/usr/local/etc/php' '--with-config-file-scan-dir=/usr/local/etc/php/conf.d' '--enable-option-checking=fatal' '--with-mhash' '--with-pic' '--enable-ftp' '--enable-mbstring' '--enable-mysqlnd' '--with-password-argon2' '--with-sodium=shared' '--with-pdo-sqlite=/usr' '--with-sqlite3=/usr' '--with-curl' '--with-iconv' '--with-openssl' '--with-readline' '--with-zlib' '--disable-phpdbg' '--with-pear' '--with-libdir=lib/x86_64-linux-gnu' '--disable-cgi' '--with-apxs2' 'build_alias=x86_64-linux-gnu'

If it is not enabled by default (in Configure Command), how to rebuild the image with this: --with-xmlrpc ?

Thank you in advance.

MoodleSite-admin-phpinfo php--2023-10-25

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions