Hi, Kristian,
Thank you for your reply.
I'm using CentOS 6.4 and PHP 5.3.3. Safe mode is not enabled. I've also set the open_basedir setting to none.
Tried the commands you gave me, but I'm not able to access my images dir with cd. It says access denied.
It's strange, because when I "ls -all"...