Skip to content
This repository has been archived by the owner on Aug 6, 2023. It is now read-only.

Make sure phar:// includes aren't blocked by suhosin #4

Merged
merged 1 commit into from
May 3, 2011
Merged

Make sure phar:// includes aren't blocked by suhosin #4

merged 1 commit into from
May 3, 2011

Conversation

mfonda
Copy link
Contributor

@mfonda mfonda commented May 2, 2011

I grabbed a copy of pyrus.phar (version 2.0.0a3) today, and when executing it, there was no output at all. After further investigation, it seems that by default suhosin disables including files that use the phar:// stream wrapper. Since there was no output or error messages, it took a while to track down what was going on.

I'm not sure whether or not it's appropriate to include this check, since suhosin isn't "part" of PHP, but given that it's enabled by default on debian/ubuntu, I think it's an issue a lot of users may encounter. Perhaps a note in the manual somewhere would be another (better?) solution.

saltybeagle added a commit that referenced this pull request May 3, 2011
Make sure phar:// includes aren't blocked by suhosin
@saltybeagle saltybeagle merged commit dc290e5 into pyrus:master May 3, 2011
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants