apprentiDev
Messages postés154Date d'inscriptiondimanche 2 mai 2010StatutMembreDernière intervention 1 mai 2013
-
25 nov. 2010 à 23:03
Bonjour,
Je dois installer le framework symfony sur pc. Petit problème j'ai eu comme erreur
C:\wamp\bin\php\php5.3.0>go-pear.bat
phar "C:\wamp\bin\php\php5.3.0\PEAR\go-pear.phar" does not have a signaturePHP W
arning: require_once(phar://go-pear.phar/index.php): failed to open stream: pha
r error: invalid url or non-existent phar "phar://go-pear.phar/index.php" in C:\
wamp\bin\php\php5.3.0\PEAR\go-pear.phar on line 1236
Warning: require_once(phar://go-pear.phar/index.php): failed to open stream: pha
r error: invalid url or non-existent phar "phar://go-pear.phar/index.php" in C:\
wamp\bin\php\php5.3.0\PEAR\go-pear.phar on line 1236
Appuyez sur une touche pour continuer...
En regardant sur internet j'ai trouve que la solution a ce probleme était de mettre le contenu de go-pear.bat de la façon suivante:
@ECHO OFF
set PHP_BIN=php.exe
%PHP_BIN% -d output_buffering=0 -d phar.require_hash=0 PEAR\go-pear.phar
pause
Une fois c'est fait je reprends l'instalation de PEAR j'ai :
Are you installing a system-wide PEAR or a local copy?
(system|local) [system] :
Je tape enter
puis j'ai plusieurs warning dont le 1er est :
'".\php.exe"' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
Comment faire pour que ce probleme soit résolue? Car la je ne pense pas que PEAR soit installé. Ci aprés les différents messages qui me sont apparus.
1-12, 'all' or Enter to continue:
'".\php.exe"' n'est pas reconnu en tant que commande interne
ou externe, un programme exécutable ou un fichier de commandes.
*WARNING*
We found php.exe under ., it uses an unknown SAPI. PEAR commandline
tool has not been tested with it, if you have a CLI (or CGI) php.exe available,
we strongly recommend using it.
PEAR: To install optional features 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:\wamp\bin\php\php5.3.0\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.
Je suppose qu'avec tous les warning le PEAR ne s'est pas installé.
Si vous savez comment faire pour que le PEAR soit installé je vous remercie par avance.