Skip to content

shared host cron env doesn't always include the PHP path, so 'php artisan' fails #14

@solonmedia

Description

@solonmedia

Hey!

I got this running on my host, but I needed to add a php_binary config option and rework the artisan calls to use this php_binary path if it was present instead of 'php artisan' because on my shared host the cron environment doesn't seem to include paths (they recommend in their docs to use whichever explicit php bin you want via path, etc.)

If someone tried to run this locally where they have more control over the path variables in different environments they might get frustrated if their shared host doesn't have their cron environment set up that way.

Other than that, using it to update Mixpost horizon on shared A2 - works a treat.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions