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

Error: Failed to copy extension from target directory to extension directory #263

Open
godruoyi opened this issue Aug 9, 2023 · 0 comments

Comments

@godruoyi
Copy link

godruoyi commented Aug 9, 2023

When I use cargo php install on GitHub Action, I get this error, here are CI log link. I know this is due to permission issues, but since cargo is not installed under the sudo user, we cannot directly use "sudo cargo php install", which will cause another problem.

sudo: cargo: command not found

Perhaps we can add a new option like "cargo php install --try", which will build and output the path of PHP extension and dylib files, so that we can manually copy them. Please let me know your thoughts, and I'd like to submit a PR for it.

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

No branches or pull requests

1 participant