by Iñaki Arenaza.
Hi Saravanan,
the error is probably due to the PHP command line interface configuration (php.ini) being different than your PHP web server module configuration (they sometimes use different configuration files for each of them).
Make sure you use the same configuration settings in both cases, and that you execute the command at the top of your Moodle installation directory.
Saludos.
Iñaki.
the error is probably due to the PHP command line interface configuration (php.ini) being different than your PHP web server module configuration (they sometimes use different configuration files for each of them).
Make sure you use the same configuration settings in both cases, and that you execute the command at the top of your Moodle installation directory.
Saludos.
Iñaki.