Announcement

Collapse
No announcement yet.

probleme a l'installation avec PEAR

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • probleme a l'installation avec PEAR

    Bonjour,

    Tout d'abord je travaille sur une RedHat entreprise 4 U2.

    j'ai installer le rpm php-pear-4.3.9-3.8 lors de l 'install sur la premier fenetre Oreon detect bien pear cependant a la seconde, il manquait plein de modules. J'ai donc voulu les installer a la main en les telechargant sur pear.php.net et maintenamt il ne m'en manque que 3 :
    DB OK
    DB_DataObject Failed
    Need DB_DataObject-1.8.4
    DB_DataObject_FormBuilder Failed
    Need DB_DataObject_FormBuilder-1.0.0RC4
    MDB2 Failed
    Need MDB2-2.0.0
    Date OK
    Numbers_Roman OK ..... tous les suivants sont OK

    Je ne sais plus comment faire voila ce que j'obtient

    pear install DB_DataObject-1.8.4.tgz
    PHP Notice: Constant MYSQL_ASSOC already defined in Unknown on line 0
    PHP Notice: Constant MYSQL_NUM already defined in Unknown on line 0
    PHP Notice: Constant MYSQL_BOTH already defined in Unknown on line 0
    PHP Notice: Constant MYSQL_CLIENT_COMPRESS already defined in Unknown on line 0PHP Notice: Constant MYSQL_CLIENT_SSL already defined in Unknown on line 0
    PHP Notice: Constant MYSQL_CLIENT_INTERACTIVE already defined in Unknown on line 0
    PHP Notice: Constant MYSQL_CLIENT_IGNORE_SPACE already defined in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_connect in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_pconnect in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_close in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_select_db in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_query in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_unbuffered_query in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_db_query in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_list_dbs in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_list_tables in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_list_fields in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_list_processes in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_error in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_errno in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_affected_rows in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_insert_id in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_result in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_num_rows in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_num_fields in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fetch_row in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fetch_array in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fetch_assoc in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fetch_object in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_data_seek in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fetch_lengths in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fetch_field in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_field_seek in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_free_result in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_field_name in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_field_table in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_field_len in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_field_type in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_field_flags in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_escape_string in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_real_escape_string in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_stat in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_thread_id in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_client_encoding in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_ping in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_get_client_info in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_get_host_info in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_get_proto_info in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_get_server_info in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_info in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fieldname in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fieldtable in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fieldlen in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fieldtype in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_fieldflags in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_selectdb in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_freeresult in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_numfields in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_numrows in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_listdbs in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_listtables in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_listfields in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_db_name in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_dbname in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_tablename in Unknown on line 0
    PHP Warning: Function registration failed - duplicate name - mysql_table_name in Unknown on line 0
    PHP Warning: mysql: Unable to register functions, unable to load in Unknown on line 0
    requires package `DB' >= 1.7.0
    DB_DataObject: Dependencies failed

  • #2
    Salut,

    Quelle version de "DB" as tu installé ?

    Comment


    • #3
      db4-4.2.52-7.1, desole je suis novice ...et peux etre n'est pas cela que tu attend !!! mais apart un rpm -qa | grep gd je ne sait comment trouver la version

      Comment


      • #4
        Dans le message que tu nous donnes, il y a ceci :

        Code:
        requires package `DB' >= 1.7.0
        la dernière version de "DB" est : http://pear.php.net/package/DB , soit la 1.7.6

        Comment


        • #5
          pear install DB-1.7.6.tgz
          PHP Notice: Constant MYSQL_ASSOC already defined in Unknown on line 0
          PHP Notice: Constant MYSQL_NUM already defined in Unknown on line 0
          PHP Notice: Constant MYSQL_BOTH already defined in Unknown on line 0
          PHP Notice: Constant MYSQL_CLIENT_COMPRESS already defined in Unknown on line 0PHP Notice: Constant MYSQL_CLIENT_SSL already defined in Unknown on line 0
          PHP Notice: Constant MYSQL_CLIENT_INTERACTIVE already defined in Unknown on line 0
          PHP Notice: Constant MYSQL_CLIENT_IGNORE_SPACE already defined in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_connect in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_pconnect in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_close in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_select_db in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_query in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_unbuffered_query in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_db_query in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_list_dbs in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_list_tables in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_list_fields in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_list_processes in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_error in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_errno in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_affected_rows in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_insert_id in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_result in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_num_rows in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_num_fields in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_fetch_row in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_fetch_array in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_fetch_assoc in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_fetch_object in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_data_seek in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_fetch_lengths in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_fetch_field in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_field_seek in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_free_result in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_field_name in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_field_table in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_field_len in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_field_type in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_field_flags in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_escape_string in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_real_escape_string in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_stat in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_thread_id in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_client_encoding in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_ping in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_get_client_info in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_get_host_info in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_get_proto_info in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_get_server_info in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_info in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_fieldname in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_fieldtable in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_fieldlen in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_fieldtype in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_fieldflags in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_selectdb in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_freeresult in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_numfields in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_numrows in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_listdbs in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_listtables in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_listfields in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_db_name in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_dbname in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_tablename in Unknown on line 0
          PHP Warning: Function registration failed - duplicate name - mysql_table_name in Unknown on line 0
          PHP Warning: mysql: Unable to register functions, unable to load in Unknown on line 0
          DB already installed

          Comment


          • #6
            désinstalle ton ancien DB et réinstalle DB-1.7.6.

            Comment

            Working...
            X