Wednesday, 22. February 2012

Had this error Warning: realpath() [function.realpath]: SAFE MODE Restriction in effect. The script whose uid is 10008 is not allowed to access /tmp owned by uid 0 in lib/Zend/Cache/Backend.php

This is a user security issues and for this specific server, PHP was configured to run as fastcgi. This means that all files must be owned by the same user running the PHP script.

So if the file that is being accessed has owner 0:0 and the script accessing it has an owner 10008; you are more likely to find this error.

Making these changes, should hopefully help with this sort of problems.

Leave a Reply

You must be logged in to post a comment.