//
you're reading...
failed to open stream: Inappropriate ioctl for device
A new error I have yet to encounter at first glance this was a bit strange and didn’t make much sense … putting on my System administration hat the answer was quite obvious ownership.Error:
failed to open stream: Inappropriate ioctl for device
Solution:
chown owner:group file.php
Modify the ownership of the file throwing the error to match that of the file that is being included.Headache solved!