chrisandClaude Opus 5.5 67e34c4d13 roundcube-cleandb.sh: find php and pass a clean PATH to the http user
Roundcube's bin/cleandb.sh starts with '#!/usr/bin/env php'. Under cron
the PATH inherited by 'su' lacked the php binary directory and contained
/root/bin directories not accessible for the http user, so the job failed
with "env: 'php': Permission denied" while it worked in a login shell.

Determine php (PATH or /usr/local/php/bin/php) and run cleandb.sh with
PATH=<php-bin-dir>:/usr/local/bin:/usr/bin:/bin from /tmp.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-13 10:58:55 +01:00
2017-02-21 02:14:51 +01:00
2017-02-21 02:14:51 +01:00
2017-02-21 02:14:51 +01:00
2017-02-21 02:14:51 +01:00
2017-02-21 02:14:51 +01:00
2023-12-01 13:57:36 +01:00
2017-02-21 02:14:51 +01:00
S
Description
No description provided
426 KiB
Languages
Shell 100%