Zend FR

Consultez la FAQ sur le ZF avant de poster une question

Vous n'êtes pas identifié.

#1 20-01-2010 16:47:01

reflet
Nouveau membre
Date d'inscription: 11-11-2008
Messages: 2

[Résolu]zf 1.9.7 include_path - zend_tool

ZF version 1.9.7
serveur : WampServer
OS: Windows 7

bonjour,

je démarre avec ZF version 1.9.7 et j'essais  Zend_tool !

J'ai placé les fichiers zf.bat et zf.php dans " C:\wamp\bin\php\php5.2.5".
En ligne de commande "zf show version" et j'obtiens l'erreur suivante:


***************************** ZF ERROR ********************************
In order to run the zf command, you need to ensure that Zend Framework
is inside your include_path.  If you are running this tool without
ZendFramework in your include_path, you can alternatively set one of
two environment variables to for this tool to work:

a) ZEND_TOOL_INCLUDE_PATH_PREPEND="/path/to/ZendFramework/library"

OR alternatively

b) ZEND_TOOL_INCLUDE_PATH="/path/to/ZendFramework/library"

The former (a) will make the specified Zend Framework first in the
include_path whereas the latter (b) will replace the include_path
with the specified path.

Information:
    attempted include_path: .;C:\wamp\bin\php\php5.2.5\pear
    script location: C:\wamp\bin\php\php5.2.5\\zf.php

*****************************  FIN ZF ERROR ********************************

J'ai créer des variables d'environnements, rien de concluant et n'étant pas spécialiste PHP je compte en rester là pour ma par .


En attente de solution merci !!!

Dernière modification par reflet (20-01-2010 22:48:27)

Hors ligne

 

#2 20-01-2010 22:46:23

reflet
Nouveau membre
Date d'inscription: 11-11-2008
Messages: 2

Re: [Résolu]zf 1.9.7 include_path - zend_tool

je suis allez voir dans   " script location: C:\wamp\bin\php\php5.2.5\\zf.php"
j'ai redéfini le chemin attendu  pour la librairie, marche nikel !

$zfIncludePath['relativePath'] = dirname(__FILE__) . '/Zend/library/';

Hors ligne

 

#3 21-01-2010 08:44:44

nORKy
Membre
Date d'inscription: 06-03-2008
Messages: 1098

Re: [Résolu]zf 1.9.7 include_path - zend_tool

alors, perso, je dirais que le plus simple, c'est de ne rien déplacé.
Si nécessaire tu fais un raccourcis, mais c'est tout, ca évitera les problèmes de chemin


----
Gruiiik !

Hors ligne

 

#4 20-11-2010 20:28:39

Lowry
Nouveau membre
Date d'inscription: 20-11-2010
Messages: 1

Re: [Résolu]zf 1.9.7 include_path - zend_tool

j'ai déjà rencontré ce problème,
assure toi que dans ton fichier php.ini, le paramètre open_basedir  n'a aucune affectation.

Si open_basedir est different de "" cela peut bloquer le fonctionnement de ZendFramework (CLI)

Hors ligne

 

Pied de page des forums

Propulsé par PunBB
© Copyright 2002–2005 Rickard Andersson
Traduction par punbb.fr

Graphisme réalisé par l'agence Rodolphe Eveilleau
Développement par Kitpages