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

Prefix rr binary permissions with 0 to specify it as an octal value #611

Merged
merged 1 commit into from
Nov 9, 2022

Conversation

Dylan-Buth
Copy link
Contributor

@Dylan-Buth Dylan-Buth commented Nov 9, 2022

This resolves the issue described here.

On php 8.1 octane errors out because it's unable to start the rr binary that gets downloaded. It's unable to because it doesn't have permission, because the chmod() that gets run after the binary is installed, doesn't have the right value for permissions. It's trying to set them to 755 but per the chmod documentation, you need to use a 0 prefix to specify it as an octal value.

This PR adds the 0 prefix to the permissions, setting them to 0755 which runs successfully on php 8.1.

@driesvints
Copy link
Member

@Dylan-Buth please see the pr template and don't just link to an issue. Provide a thorough explanation why this is needed for the person who will review this.

@Dylan-Buth
Copy link
Contributor Author

@driesvints Updated the description

@kluevandrew
Copy link

Is it released?

@driesvints
Copy link
Member

Release day is on Tuesday.

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

Successfully merging this pull request may close these issues.

4 participants