SitePoint Sponsor

User Tag List

Results 1 to 3 of 3

Hybrid View

  1. #1
    SitePoint Enthusiast important's Avatar
    Join Date
    Oct 2002
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Angry !!!php Errors!!!

    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

  2. #2
    SitePoint Wizard siteguru's Avatar
    Join Date
    Oct 2002
    Location
    Scotland
    Posts
    3,609
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    What happens if you do phpinfo( ) via a webpage?

    What happens if you do php -i ? **

    **
    This command line option calls phpinfo(), and prints out the results. If PHP is not working well, it is advisable to make a php -i and see if any error messages are printed out before or in place of the information tables. Beware that the output is in HTML and therefore quite huge.
    Ian Anderson
    www.siteguru.co.uk

  3. #3
    SitePoint Enthusiast important's Avatar
    Join Date
    Oct 2002
    Posts
    74
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Well I commented ftp.so extension from php.ini and it solved the problem..
    Well now another person :

    /usr/bin/php somefile.php
    shows a fault in ssh..

    Segmentation fault (core dumped)



Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •