Consultez la FAQ sur le ZF avant de poster une question
Vous n'êtes pas identifié.
Pages: 1
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
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
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
Hors ligne
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
Pages: 1