/ / zend framework installation en xampp - zend-framework

instalación de zend framework en xampp - zend-framework

Estoy completamente principiante con ZEND MARCO. Intenté instalar pero estaba obteniendo un error.

A medida que voy con la instalación de la versión zf @ 1.

  1. Extraje mi carpeta al camino. C:xamppphp nombrándolo como zendframework.
  2. Edité el archivo include_path de mi archivo php.ini include_path = ".;C:xamppphpPEAR;C:xamppphpzendframeworklibrary"
  3. Servidor reiniciado
  4. Ejecute cmd con la ruta C: xamppphp (donde están mis archivos zf.bat exactos)
  5. Ejecutando comando zf show version finalizó con el error zf que mi zend framework debería incluir en include path.

    • ¿Cómo resolver este error?
    • Se solucionó el problema mi próximo comando zf create project zend_blog ¿es correcto?
    • ¿Cómo crear proyectos con zf1 y zf 2?

Respuestas

5 para la respuesta № 1
 Follow the given Instruction Below.


• Go to ‘My Computer’ > Properties > Advanced Tab > Environment Variables.
Environment Variables box will open, View SYSTEM VARIABLES,
scroll the list to ’ PATH ‘ > double click ’ PATH ‘ .
Add the following line to the end of the PATH  C:xamppphp
Zend Framework
• Extract the Zend Framework files to C:xamppphpzf.
•    Edit the php.ini file. You will find it at C:xamppphpphp.ini.
Find the line that says ’ include_path ’ and edit the line:
Windows: “path1;path2″
include_path = “C:xamppphpzflibrary”
• Open a shell and cd to C:xampphtdocs folder and type this:
C:xampphtdocs>C:xamppphpZendFrameworkbinzf.bat create project    testproject(project name)


• Now Copy the Zend Folder from your ZendFramework folder ( C:xamppphpzf/library /Zend) into the library folder of your new test project ( C:xampphtdocstestprojectlibraryZend

0 para la respuesta № 2

no tiene nada que ver con XAMPP. Algo no está configurado correctamente o no tiene privilegios correctos.

Ver estos:


0 para la respuesta № 3

necesita poner la ruta zend framework y la ruta php.exe en su variable de ruta de windows para ejecutar comandos desde la línea de comando. Esto es importante en ZF1 para que Zend_Tool funcione en la línea de comando o en Netbeans u otros Ide's.