-
Notifications
You must be signed in to change notification settings - Fork 770
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
Undefined function posix_getpwuid() for Eclipse IDE or Windows #143
Comments
I forgot to mention that it is experimental branch, (sorry I don't permissions to add Labels to the issue) |
Thanks for filing this, will look into it. |
Fixed in the latest version of experimental: |
Thanks @vtsao !! I can see a big diff commit, but it is hard to follow the changes between releases mostly because you are pushing moster commits. Could be possible that you commit in small commits per issue or changes related? I mean follow the standard principle for "Atomic Commits" https://en.wikipedia.org/wiki/Atomic_commit it would be a lot for see the progress |
Trying to load the OAuth2 credendials and running with Eclipse IDE in console:
I get this error, since in the php-cli for Eclipse IDE doesn't exist defined the php function posix_getpwuid:
According to http://php.net/manual/es/function.posix-getpwuid.php#82387 in case that the function is not defined (checking with function_exists('posix_getpwuid') ) you can try getenv('USERNAME') or other way, but at least avoid the Fatal Error, even throw a exception. Also for windows php users that function will not be defined at all.
The text was updated successfully, but these errors were encountered: