-
-
Notifications
You must be signed in to change notification settings - Fork 161
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
[Question] adding admin user relies on exec, shell_exec #1461
Comments
What error are you getting exactly, if it's not there? I'm not sure we can make that optional, as both Composer and Symfony itself rely on it as well. |
I recently updated to PHP 7.3 on my server. I think both exec and shell_exec are disabled by default, so I changed this in the php.ini after I ran into this error. It's not a problem for me personally but I think it's a good idea that this is mentioned in a "system requirements" paragraph in the docs. I know you are still working on the docs btw. ;) |
As in: After you were getting that error, you enabled it, and then it was smooth sailing? :-) |
Yes. Enabled them, restarted PHP. Problem solved. |
Ok, will add to docs! |
Let's bump this to 4.1 for now |
The
bin/console bolt:add-user --admin
command line relies onexec
andshell_exec
. My guess is a lot of (shared) hosting providers have these options disabled by default.I don't know much about PHP settings and server security , so I do not know if it is save to enable these commands but does this mean that some (a lot?) of users can't use Bolt4?
The text was updated successfully, but these errors were encountered: