Visualizzazione dei risultati da 1 a 2 su 2

Discussione: Errore PEAR

  1. #1
    Utente di HTML.it L'avatar di piaza
    Registrato dal
    Oct 2003
    Messaggi
    131

    Errore PEAR

    Ciao, nella mia macchina ho installato PHP5 nella directory c:\Php.
    Sono andato nel prompt del dos, mi sono spostato sulla cartella di cui sopra e ho digitato go-pear.bat.

    Questo è quello che è successo:

    Are you installing a system-wide PEAR or a local copy?
    (system|local) [system] : local
    Please confirm local copy by typing 'yes' : yes

    Below is a suggested file layout for your new PEAR installation. To
    change individual locations, type the number in front of the
    directory. Type 'all' to change all of them or simply press Enter to
    accept these locations.

    1. Installation base ($prefix) : c:\Php
    2. Binaries directory : c:\Php
    3. PHP code directory ($php_dir) : c:\Php\pear
    4. Documentation directory : c:\Php\pear\docs
    5. Data directory : c:\Php\pear\data
    6. Tests directory : c:\Php\pear\tests
    7. Name of configuration file : c:\Php\pear.ini
    8. Path to CLI php.exe : c:\Php\.

    1-8, 'all' or Enter to continue:
    Beginning install...
    Configuration written to c:\Php\pear.ini...
    Initialized registry...
    Preparing to install...
    installing phar://go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.1.tar...
    installing phar://go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.tar...
    installing phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.4.11.tar...
    pear/PEAR can optionally use package "pear/XML_RPC" (version >= 1.4.0)
    install ok: channel://pear.php.net/Archive_Tar-1.3.1
    install ok: channel://pear.php.net/Console_Getopt-1.2
    install ok: channel://pear.php.net/PEAR-1.4.11
    PEAR: Optional feature webinstaller available (PEAR's web-based installer)
    PEAR: Optional feature gtkinstaller available (PEAR's PHP-GTK-based installer)
    PEAR: Optional feature gtk2installer available (PEAR's PHP-GTK2-based installer)

    To install use "pear install pear/PEAR#featurename"

    ************************************************** ****************************
    WARNING! The include_path defined in the currently used php.ini does not
    contain the PEAR PHP directory you just specified:
    <c:\Php\pear>
    If the specified directory is also not in the include_path used by
    your scripts, you will have problems getting any PEAR packages working.

    Current include path : .;C:\php5\pear
    Configured directory : c:\Php\pear
    Currently used php.ini (guess) :
    Press Enter to continue:

    ** WARNING! Old version found at c:\Php, please remove it or be sure to use the
    new c:\php\pear.bat command


    Cosa devo fare?

    Poi ho fatto:
    c:\Php>pear install Mail_Mime
    downloading Mail_Mime-1.3.1.tgz ...
    Starting to download Mail_Mime-1.3.1.tgz (16,481 bytes)
    ......done: 16,481 bytes
    ERROR: Adding package pear.php.net/Mail_Mime to registry failed

    Consigli?
    "Possono recidere tutti i fiori, la Primavera arriverà"

  2. #2
    Utente di HTML.it L'avatar di piaza
    Registrato dal
    Oct 2003
    Messaggi
    131
    Qualsiasi pacchetto voglia installare l'errore è sempre il seguente:
    ERROR: Adding package pear.php.net

    Spero in un aiuto..
    "Possono recidere tutti i fiori, la Primavera arriverà"

Permessi di invio

  • Non puoi inserire discussioni
  • Non puoi inserire repliche
  • Non puoi inserire allegati
  • Non puoi modificare i tuoi messaggi
  •  
Powered by vBulletin® Version 4.2.1
Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.