-
Notifications
You must be signed in to change notification settings - Fork 115
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
BORIS won't start #29
Comments
You need a PHP that has been compiled with the pcntl functions to run Boris. The PHP that ships with OS X is notoriously lacking. Any of the mainstream Linux distros should provide suitable PHPs, otherwise you may install your own on OS X (which is what I do). |
In case some other people run into the same issue, here's a small guide I wrote for OS X. Feel free to grab the relevant bits or link to it if you'd like to add a bit more instructions for the OS X installation. |
Boris fails when running on a Docker container:
Is any special permission needed to use these PHP extensions boris require? |
@juniorz I just ran into the same problem. In my case I needed to remove the pcntl functions from disabled_functions in my php.ini. |
Thank you @chasingmaxwell. It worked with:
on an Ubuntu box. |
the #!/usr/bin/php -q was forcing the wrong version of PHP. fixed the path, everything is fine. |
I commented out the line in my php.ini and then restarted apache. No dice. I still get the error. Welp. |
Since I found this page from Google searching my problem, a bit different from dangelov's message: Went through some kind of upgrade on the Mac. I'm positive it was upgrades in (Home) I still had that PHP installed, but didn't have the paths set-up in my terminal ( Maybe I was using the system one this entire time until now, but that's strange because I was successfully using |
Hello from the future! I discovered by way of this Stack Overflow answer that MacPorts and Homebrew both seem to have In my case, this let me use boris on my Mac running Mojave (10.14.6):
Note the warning that this version of PHP should not be used in a production environment, so just be aware of that. I'm only using the interpreter from the command line, so this was fine for me. Hope this helps! Update: It was also necessary to
|
I get the following error when I try to start it. I cloned the repo, cd'ed and tried to run it.
Dinos-MacBook-Pro:bin dinoangelov$ ./boris
Fatal error: Call to undefined function Boris\pcntl_signal() in /Users/dinoangelov/Library/Developer/boris/lib/Boris/Boris.php on line 110
The text was updated successfully, but these errors were encountered: