no one can offer a simple solution to this command.
PHP Warning: Module “mcrypt” is already loaded in Unknown on line 0
PHP Fatal error: Uncaught Error: Call to undefined function curl_init() in /home/componente-fotovoltaice/public_html/admin/controller/module/universal_import.php:2003
Stack trace:
fora start you need to install the php curl module, to remove this error … but you may find that this leads to another error. It appears you have installed PHP yourself and have missed some modules
We’ve told you to install the PHP curl module. You didn’t tell us your OS, so we can’t tell you exactly how, but it’s in the standard OS repositories for all supported operating systems, so it is very easy to install.
Unless you have installed other PHP versions (but if you followed our documentation for doing that, you would already have the curl module for that version).
You’ve lost me but ipen a terminal as root user and type the comaand @Joe supplied. Then retry your original cron job. The error is not the cron job the error is missing parts of php that you need for the original cron job to run
It is now clear from second image that you now have cron listed as a known module → good.
However the first image is showing a stack trace through the php code you are executing as a cron job.
It is even pointing you the error! I guess you are trying to run a SQL command on the database. What database - does it even exist - have you permission - does the code even work.
I solved everything with CRON. The next question would be if on virtualmin we have the possibility to set the date until which the domain will be active?
Please start a new topic for new questions or it gets confusing. New topics can bring new people in to the knowledge base to answer a problem. Most see a topic solved as ahem “Solved” :):
.so stands for “shared object”, it is the standard filename extension for shared libraries in Linux. (Try ls /usr/lib or ls /usr/lib64 to see what I mean.)
libsodium is not mcrypt, but it is a more modern implementation of some of the same types of functions found in mcrypt. e.g. it can be used for password hashing, signatures, etc. But, I see no evidence OP needs libsodium. (But if they did, it’d show up as a failure to load libsodium.so or similar.)