Warning: file_put_contents(php://filter/write=string.toupper/resource=/tmp/test/example.txt): Failed to open stream: operation failed in /in/7cgoD on line 2
Warning: exec(): Unable to fork [echo 'ddd' > /tmp/test/ddd.txt] in /in/7cgoD on line 3
Warning: file_put_contents(php://filter/write=string.toupper/resource=/tmp/test/example.txt): failed to open stream: operation failed in /in/7cgoD on line 2
Warning: exec(): Unable to fork [echo 'ddd' > /tmp/test/ddd.txt] in /in/7cgoD on line 3
Output for 7.0.0 - 7.0.15, 7.1.0 - 7.1.1
Warning: file_put_contents(php://filter/write=string.toupper/resource=/tmp/test/example.txt): failed to open stream: operation failed in /in/7cgoD on line 2
Warning: exec(): Unable to fork [echo 'ddd' > /tmp/test/ddd.txt] in /in/7cgoD on line 3
Fatal error: Uncaught UnexpectedValueException: GlobIterator::__construct(): open_basedir restriction in effect. File(glob:///tmp/*) is not within the allowed path(s): (/tmp:/in:/etc) in /in/7cgoD:4
Stack trace:
#0 /in/7cgoD(4): GlobIterator->__construct('/tmp/*', 4096)
#1 {main}
thrown in /in/7cgoD on line 4
Process exited with code 255.
Output for 5.5.0 - 5.5.38, 5.6.0 - 5.6.29
Warning: file_put_contents(php://filter/write=string.toupper/resource=/tmp/test/example.txt): failed to open stream: operation failed in /in/7cgoD on line 2
Warning: exec(): Unable to fork [echo 'ddd' > /tmp/test/ddd.txt] in /in/7cgoD on line 3
Fatal error: Uncaught exception 'UnexpectedValueException' with message 'GlobIterator::__construct(): open_basedir restriction in effect. File(glob:///tmp/*) is not within the allowed path(s): (/tmp:/in:/etc)' in /in/7cgoD:4
Stack trace:
#0 /in/7cgoD(4): GlobIterator->__construct('/tmp/*', 4096)
#1 {main}
thrown in /in/7cgoD on line 4
Process exited with code 255.