Hi Zune,
you did nothing wrong! The problem arises as “safe mode” is enabled on your server.
On my development server I have PHP 5.2.10 running in an Linux/Ubuntu environment.
As stated in the php.ini file:
<br />
; Safe Mode<br />
;<br />
; NOTE: this is considered a "broken" security measure.<br />
; Applications relying on this feature will not recieve full<br />
; support by the security team. For more information please<br />
; see /usr/share/doc/php5-common/README.Debian.security<br />
;<br />
safe_mode = Off<br />
How to turn off safe mode:
1. Email your hosting company
and ask them if they will turn this setting off for you. It depends on their company policies, if they will comply.
2. Connect to your server via SSH and use an editor such as NANO to edit your php.ini file manually. Once you have the php.ini file open, look for “safe_mode” and change the value to off for this setting like shown on the above example.
Save the file and exit.
I hope this information helps, if you need a clue for a more secure hosting provider please write me at info [at] myeasywp [dot] com
BTW safe_mode is deprecated since PHP 5.3.0 and will not be included in PHP 6