/usr/bin/php no longer works an executable in /etc/crontab (Leap 16.0)

…because there is no /usr/bin/php file. There doesn’t appear to be a php executable anywhere that I can call. PHP seems to exist only as an Apache module.

Is anyone able to suggest what I could use to run a php script as a cron job, please?
Or is this convenience a thing of the past?
(Leap 16.0 / PHP 8.4.27)

This file should be in the package php8-cli.

/usr/bin/php and /usr/bin/php8

1 Like

Perfect! Thank you, hui!

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.