IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Langage PHP Discussion :

Message Warning suite ligne de commande php sous Linux


Sujet :

Langage PHP

Vue hybride

Message précédent Message précédent   Message suivant Message suivant
  1. #1
    Membre confirmé
    Profil pro
    Inscrit en
    Février 2004
    Messages
    53
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2004
    Messages : 53
    Par défaut Message Warning suite ligne de commande php sous Linux
    Bonjour,

    Je travaille sous Linux dans lequel il y a du PHP.

    Lorsque sous linus je fait la commande suivante :

    [root@ampli01lnx108 recette]# php -h


    J'ai tout un tas de messages warning, est ce que quelqu'un sait ce que c'est et comment faire pour ne plus les avoir ?

    Code X : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
    28
    29
    30
    31
    32
    33
    34
    35
    36
    37
    38
    39
    40
    41
    42
    43
    44
    45
    46
    47
    48
    49
    50
    51
    52
    53
    54
    55
    56
    57
    58
    59
    60
    61
    62
    63
    64
    65
    66
    67
    68
    69
    70
    71
    72
    73
    74
    75
    76
    77
    78
    79
    80
    81
    82
    83
    84
    85
    86
    87
    88
    89
    90
    91
    92
    93
    94
    95
    96
    97
    98
    99
    Content-type: text/html
    
    PHP Notice:  Constant odbc_type already defined in Unknown on line 0
    PHP Notice:  Constant odbc_binmode_passthru already defined in Unknown on line 0
    PHP Notice:  Constant odbc_binmode_return already defined in Unknown on line 0
    PHP Notice:  Constant odbc_binmode_convert already defined in Unknown on line 0
    PHP Notice:  Constant sql_odbc_cursors already defined in Unknown on line 0
    PHP Notice:  Constant sql_cur_use_driver already defined in Unknown on line 0
    PHP Notice:  Constant sql_cur_use_if_needed already defined in Unknown on line 0
    PHP Notice:  Constant sql_cur_use_odbc already defined in Unknown on line 0
    PHP Notice:  Constant sql_concurrency already defined in Unknown on line 0
    PHP Notice:  Constant sql_concur_read_only already defined in Unknown on line 0
    PHP Notice:  Constant sql_concur_lock already defined in Unknown on line 0
    PHP Notice:  Constant sql_concur_rowver already defined in Unknown on line 0
    PHP Notice:  Constant sql_concur_values already defined in Unknown on line 0
    PHP Notice:  Constant sql_cursor_type already defined in Unknown on line 0
    PHP Notice:  Constant sql_cursor_forward_only already defined in Unknown on line 0
    PHP Notice:  Constant sql_cursor_keyset_driven already defined in Unknown on line 0
    PHP Notice:  Constant sql_cursor_dynamic already defined in Unknown on line 0
    PHP Notice:  Constant sql_cursor_static already defined in Unknown on line 0
    PHP Notice:  Constant sql_keyset_size already defined in Unknown on line 0
    PHP Notice:  Constant sql_char already defined in Unknown on line 0
    PHP Notice:  Constant sql_varchar already defined in Unknown on line 0
    PHP Notice:  Constant sql_longvarchar already defined in Unknown on line 0
    PHP Notice:  Constant sql_decimal already defined in Unknown on line 0
    PHP Notice:  Constant sql_numeric already defined in Unknown on line 0
    PHP Notice:  Constant sql_bit already defined in Unknown on line 0
    PHP Notice:  Constant sql_tinyint already defined in Unknown on line 0
    PHP Notice:  Constant sql_smallint already defined in Unknown on line 0
    PHP Notice:  Constant sql_integer already defined in Unknown on line 0
    PHP Notice:  Constant sql_bigint already defined in Unknown on line 0
    PHP Notice:  Constant sql_real already defined in Unknown on line 0
    PHP Notice:  Constant sql_float already defined in Unknown on line 0
    PHP Notice:  Constant sql_double already defined in Unknown on line 0
    PHP Notice:  Constant sql_binary already defined in Unknown on line 0
    PHP Notice:  Constant sql_varbinary already defined in Unknown on line 0
    PHP Notice:  Constant sql_longvarbinary already defined in Unknown on line 0
    PHP Notice:  Constant sql_date already defined in Unknown on line 0
    PHP Notice:  Constant sql_time already defined in Unknown on line 0
    PHP Notice:  Constant sql_timestamp already defined in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_error in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_errormsg in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_setoption in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_autocommit in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_close in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_close_all in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_commit in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_connect in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_pconnect in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_cursor in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_exec in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_prepare in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_execute in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_fetch_row in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_fetch_into in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_field_len in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_field_scale in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_field_name in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_field_type in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_field_num in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_free_result in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_next_result in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_num_fields in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_num_rows in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_result in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_result_all in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_rollback in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_binmode in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_longreadlen in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_tables in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_columns in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_gettypeinfo in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_primarykeys in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_columnprivileges in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_tableprivileges in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_foreignkeys in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_procedures in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_procedurecolumns in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_specialcolumns in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_statistics in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_do in Unknown on line 0
    PHP Warning:  Function registration failed - duplicate name - odbc_field_precision in Unknown on line 0
    PHP Warning:  odbc:  Unable to register functions, unable to load in Unknown on line 0
    Usage: php [-q] [-h] [-s [-v] [-i] [-f <file>] |  {<file> [args...]}
      -q             Quiet-mode.  Suppress HTTP Header output.
      -s             Display colour syntax highlighted source.
      -w             Display source with stripped comments and whitespace.
      -f <file>      Parse <file>.  Implies `-q'
      -v             Version number
      -C             Do not chdir to the script's directory
      -c <path>      Look for php.ini file in this directory
      -a             Run interactively
      -d foo[=bar]   Define INI entry foo with value 'bar'
      -e             Generate extended information for debugger/profiler
      -z <file>      Load Zend extension <file>.
      -l             Syntax check only (lint)
      -m             Show compiled in modules
      -i             PHP information
      -h             This help


    Merci par avance.

  2. #2
    Modérateur
    Avatar de sabotage
    Homme Profil pro
    Inscrit en
    Juillet 2005
    Messages
    29 208
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Juillet 2005
    Messages : 29 208
    Par défaut
    Qu'est ce que tu souhaites faire ?
    N'oubliez pas de consulter les FAQ PHP et les cours et tutoriels PHP

  3. #3
    Membre confirmé
    Profil pro
    Inscrit en
    Février 2004
    Messages
    53
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2004
    Messages : 53
    Par défaut
    Je souhaite executer des scripts PHP à partir d'un script shell.

  4. #4
    Invité
    Invité(e)
    Par défaut
    Salut,

    si tu nous présentais ton code, ça nous permettrait de voir ce qu'il se passe.

  5. #5
    Membre confirmé
    Profil pro
    Inscrit en
    Février 2004
    Messages
    53
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Février 2004
    Messages : 53
    Par défaut
    En faite je suis dans la version 4.2.2 de PHP, sous RedHAt 9 :

    La solution la voici :
    Passer la commande suivante dans le script shell pour exécuter un fichier php :

    php -f {nomFichier}.php --ini

    A bientôt.

+ Répondre à la discussion
Cette discussion est résolue.

Discussions similaires

  1. Script Pyhon et ligne de commande(terminal) sous Linux
    Par Jackbalek dans le forum Général Python
    Réponses: 13
    Dernier message: 11/06/2014, 18h18
  2. affichage des warnings en ligne de commande
    Par gwenhael dans le forum Android
    Réponses: 0
    Dernier message: 10/06/2011, 18h43
  3. Réponses: 3
    Dernier message: 14/07/2010, 14h27
  4. Ligne de commande php pour exécuter un script php basé sur mon serveur web
    Par bdgtat dans le forum EDI, CMS, Outils, Scripts et API
    Réponses: 5
    Dernier message: 13/07/2007, 08h53
  5. Réponses: 3
    Dernier message: 08/01/2007, 12h54

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo