@frederick Basically I just turned PHP’s safe mode off.On Plesk was someting like this http://twitpic.com/2rg2nf. It changed its httpd configration:
php_admin_flag safe_mode off
About php flags.
Solved this thanks to web page. You have to comment that line or change the “PHP ‘safe_mode’ on” (in Plesk) in your configuration.