Partial solution:
the problem is caused by your PHP running in SAFE mode.
You need to fix this in /etc/php.ini (or wherever php.ini is on your server) or get the sysadmin to fix it.
But WAIT! it is not necessarily over yet!
In you Apache configuration files (there are often several) there may be a line:
php_admin_flag safe_mode on
Change it to OFF or comment it out.
Make sure you understand the consequences – switching to OFF for a wrong directory may lead to all kinds of unpleasentness. Good luck!