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

touching a file in php5.3 fails, #56

Closed
iwyg opened this issue Apr 23, 2013 · 1 comment
Closed

touching a file in php5.3 fails, #56

iwyg opened this issue Apr 23, 2013 · 1 comment

Comments

@iwyg
Copy link

iwyg commented Apr 23, 2013

however it works for 5.4 and 5.5

See: https://travis-ci.org/iwyg/vfsissues

EDIT:
seems like all *NIX commands fail (chmod, touch, unlink, etc…)

@mikey179
Copy link
Member

That's due to the fact that touch(), chown(), chgrp() and chmod() in stream wrappers like vfsStream only work with PHP >= 5.4 because support for those functions was first added with PHP 5.4. There's nothing vfsStream can do about this to make this work with PHP 5.3.

weotch added a commit to BKWLD/croppa that referenced this issue Feb 9, 2015
vfsStream has issues with it: bovigo/vfsStream#56.  I'd rather have more vfstream support.
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

2 participants