Hi, I have a cronjob which I runs fine on debian wheezy as Full Cron using the system full paths. Testing from cli the following command executes fine: /usr/bin/php -q /var/www/clients/client3/web32/web/console core:archive --url=http://stats.development.dev/ Now I want to run the cron job as Chrooted but in this case the mysqli extension is missing. The following command from cli fails: /usr/bin/php -q /web/console core:archive --url=http://stats.development.dev/ The server has mysqli extension loaded. From any site if I execute the following in a php file it returns true: echo extension_loaded('mysqli'); exit; Any help on this appreciated as I would like the cronjobs to be Chrooted for security.
Hi, Try installling mysql in the chroot environment. You can also refer the post here and here. Let me know if this helps.