I got php errors when i type php -v in ssh..

PHP Warning: Function registration failed - duplicate name - ftp_close in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - ftp_set_option in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - ftp_get_option in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - ftp_nb_fget in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - ftp_nb_get in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - ftp_nb_continue in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - ftp_nb_put in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - ftp_nb_fput in Unknown on line 0
PHP Warning: Function registration failed - duplicate name - ftp_quit in Unknown on line 0
PHP Warning: ftp: Unable to register functions, unable to load in Unknown on line 0

How to solve it. I also recompiled php, but it doesnt solves..

help