INSTALACION DE WAMPSERVER 2.0 (http://www.wampserver.com/)
INSTALACION DE PEAR
ENTRAMOS A CMD Y EJECUTAMOS
C:\wamp\bin\php\php5.2.6>go-pear
Are you installing a system-wide PEAR or a local copy?
(systemlocal) [system] :
Presionamos ENTER
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:\wamp\bin\php\php5.2.6
2. Temporary directory for processing : C:\wamp\bin\php\php5.2.6\tmp
3. Temporary directory for downloads : C:\wamp\bin\php\php5.2.6\tmp
4. Binaries directory : C:\wamp\bin\php\php5.2.6
5. PHP code directory ($php_dir) : C:\wamp\bin\php\php5.2.6\pear
6. Documentation directory : C:\wamp\bin\php\php5.2.6\docs
7. Data directory : C:\wamp\bin\php\php5.2.6\data
8. User-modifiable configuration files directory : C:\wamp\bin\php\php5.2.6\cfg
9. Public Web Files directory : C:\wamp\bin\php\php5.2.6\www
10. Tests directory : C:\wamp\bin\php\php5.2.6\tests
11. Name of configuration file : C:\WINDOWS\pear.ini
12. Path to CLI php.exe : C:\wamp\bin\php\php5.2.6\.
1-12, 'all' or Enter to continue:
Would you like to alter php.ini
Escribe Y
php.ini
Current include path : .;C:\php5\pear
Configured directory : C:\wamp\bin\php\php5.2.6\pear
Currently used php.ini (guess) : C:\wamp\bin\php\php5.2.6\php.ini
Press Enter to continue:
** WARNING! Old version found at C:\wamp\bin\php\php5.2.6, please remove it or b
e sure to use the new c:\wamp\bin\php\php5.2.6\pear.bat command
The 'pear' command is now at your service at c:\wamp\bin\php\php5.2.6\pear.bat
** The 'pear' command is not currently in your PATH, so you need to
** use 'c:\wamp\bin\php\php5.2.6\pear.bat' until you have added
** 'C:\wamp\bin\php\php5.2.6' to your PATH environment variable.
Run it without parameters to see the available actions, try 'pear list'
to see what packages are installed, or 'pear help' for help.
For more information about PEAR, see:
http://pear.php.net/faq.php
http://pear.php.net/manual/
Thanks for using go-pear!
* WINDOWS ENVIRONMENT VARIABLES *
For convenience, a REG file is available under C:\wamp\bin\php\php5.2.6\PEAR_ENV
.reg .
This file creates ENV variables for the current user.
Double-click this file to add it to the current user registry.
Presione una tecla para continuar . . .
- DESPUES ENTRAMOS A LA CARPETA C:/wamp/bin/php/php 5.2.6 y le damos doble click a PEAR_ENV.reg
- NOTA:SINO HA SIDO CREADO VOLVER A REALIZAR POR CMD C:\wamp\bin\php\php5.2.6>go-pear
- LUEGO SE COPIA EL ARCHIVO QUE ESTA C:/wamp/bin/php/php 5.2.6/pear.bat EN C:/WINDOWS/SYSTEM32
REGRESAMOS A LA VENTANA DE LINEA DE COMANDO Y EJECUTAMOS
C:\>pear config-set http_proxy HTTP://usuario_intranet:clave_intranet@10.25.2.20:3128
config-set succeeded
INSTALACION DE SYMFONY
C:\>pear channel-discover pear.symfony-project.com
Adding Channel "pear.symfony-project.com" succeeded
Discovery of channel "pear.symfony-project.com" succeeded
C:\>pear install symfony/symfony-1.2.0
downloading symfony-1.2.0.tgz ...
Starting to download symfony-1.2.0.tgz
Adicionar la variable de Ambiente
Debemos adicionar al final de la variable de ambiente llamada "path" la siguiente linea:
C:\wamp\bin\php\php5.2.6
No hay comentarios:
Publicar un comentario