Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Force PHP version #75

Closed
kojoduncan opened this issue Jan 23, 2017 · 2 comments
Closed

Force PHP version #75

kojoduncan opened this issue Jan 23, 2017 · 2 comments

Comments

@kojoduncan
Copy link

Hello,

Is there a way to override the php version that jobby uses to run cron jobs. I have a script which runs fine on my webserver which uses PHP 5.6 but when I run the same php script in cron it gives errors related to the php version. I run a phpinfo() as a php script in crontab and got php version 5.4.45.

Can jobby be configured to use a different php version?

Thanks

@hellogerard
Copy link
Member

@kojoduncan I think it just uses the php installed in your shell. If you just type php -v at the prompt, it is probably 5.4.45. If you type which php, it will tell you where it is is installed. Upgrade your command-line php if you want a newer version.

@kojoduncan
Copy link
Author

kojoduncan commented Jan 30, 2017 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants