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

fix(php): open_basedir restriction #944

Merged
merged 5 commits into from
Dec 11, 2023
Merged

fix(php): open_basedir restriction #944

merged 5 commits into from
Dec 11, 2023

Conversation

xolf
Copy link
Contributor

@xolf xolf commented Dec 10, 2023

🚥 Resolves #943

🧰 Changes

The composer config is only used to cache the base_log_url. If the open_basedir can't be changed within the php.ini configuration (like for serversideup docker images) the package can't be used.

🧬 QA & Testing

I've tested the changes with my own and the example application.

@xolf xolf changed the title PHP: open_basedir restriction fix(php) open_basedir restriction Dec 10, 2023
@xolf xolf changed the title fix(php) open_basedir restriction fix(php): open_basedir restriction Dec 10, 2023
@erunion erunion added area:php bug Something isn't working labels Dec 11, 2023
Copy link
Member

@erunion erunion left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thanks for this! psalm doesn't like a couple things but otherwise i'm happy with this change.

packages/php/src/Metrics.php Outdated Show resolved Hide resolved
packages/php/src/Metrics.php Show resolved Hide resolved
@xolf
Copy link
Contributor Author

xolf commented Dec 11, 2023

@erunion thanks for your comments. I just adopted your two changes.

@erunion erunion merged commit 36506cd into readmeio:main Dec 11, 2023
47 checks passed
@erunion
Copy link
Member

erunion commented Dec 11, 2023

Published to v11.0.2. Thanks again.

@erunion erunion added php Issues related to our PHP SDK and removed area:php labels Jul 26, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working php Issues related to our PHP SDK
Projects
None yet
Development

Successfully merging this pull request may close these issues.

PHP: open_basedir restriction
2 participants