Zend FR

Consultez la FAQ sur le ZF avant de poster une question

Vous n'êtes pas identifié.

#1 24-02-2012 01:56:35

zytro
Nouveau membre
Date d'inscription: 23-02-2012
Messages: 2

(NOVICE)Probleme pour cree un projet *include_path

Salut a tous j'ai installer zend framework sous netbeans sans installer pear.Mon soucis est le suivant quand je veut cree un projet en virtual hos ou en interpreteur de commande il m'affiche:Creating project at C:/wamp/www/tutoriel2
Note: This command created a web project, for more information setting up your VHOST, please see docs/README
Testing Note: PHPUnit was not found in your include_path, therefore no testing actions will be created.

pourtant :; Windows: "\path1;\path2"
include_path = ".;C:\ZendFramework-1.11.11\library"


j'ai enleve le point virgule avant include

si quelqu'un a une soluce merci

Hors ligne

 

#2 24-02-2012 09:56:09

Orkin
Administrateur
Lieu: Paris
Date d'inscription: 09-12-2011
Messages: 1261

Re: (NOVICE)Probleme pour cree un projet *include_path

Salut, je n'ai pas très bien compris ton problème mais je peux te donner quelques tuyaux :
- tu peux dans un premier temps intégrer les library à ton projet Zend en le mettant dans le dossier library. Ceci charge pas mal le projet mais apporte plus de flexibilité, en effet si tu as plusieurs projets utilisant des versions différentes du framework ça ne te posera pas de problèmes.
- Essaie d'ajouter un "\" après library dans ton include_path et penses à bien redémarrer ton serveur.
- Pour configurer Zend sur netbean tu dois lui indiquer ton fichier .bat contenu dans le dossier bin du framework

Hors ligne

 

#3 24-02-2012 20:57:02

zytro
Nouveau membre
Date d'inscription: 23-02-2012
Messages: 2

Re: (NOVICE)Probleme pour cree un projet *include_path

Zend fonctionne bien il fallait seulement rajouter le zf et zpath dans le php exe de wamp ;voila par contre j'ai cree un projetzend : tutoriel2 avec netbeans ensuite je dans c:\wamp\www puis je suis allez dans httpd-vhosts.conf pour cree mon site virrtuel j'ai modifier le voici:

# Virtual Hosts
#
# If you want to maintain multiple domains/hostnames on your
# machine you can setup VirtualHost containers for them. Most configurations
# use only name-based virtual hosts so the server doesn't need to worry about
# IP addresses. This is indicated by the asterisks in the directives below.
#
# Please see the documentation at
# <URL:http://httpd.apache.org/docs/2.2/vhosts/>
# for further details before you try to setup virtual hosts.
#
# You may use the command line option '-S' to verify your virtual host
# configuration.

#
# Use name-based virtual hosting.
#
NameVirtualHost *:80

#
# VirtualHost example:
# Almost any Apache directive may go into a VirtualHost container.
# The first VirtualHost section is used for all requests that do not
# match a ServerName or ServerAlias in any <VirtualHost> block.
#
<VirtualHost *:80>
    ServerAdmin webmaster@dummy-host.example.com
    DocumentRoot "c:/Apache2/docs/dummy-host.example.com"
    ServerName dummy-host.example.com
    ServerAlias www.dummy-host.example.com
    ErrorLog "logs/dummy-host.example.com-error.log"
    CustomLog "logs/dummy-host.example.com-access.log" common
</VirtualHost>

<VirtualHost *:80>
    ServerAdmin webmaster@dummy-host2.example.com
    DocumentRoot "c:/Apache2/docs/dummy-host2.example.com"
    ServerName dummy-host2.example.com
    ErrorLog "logs/dummy-host2.example.com-error.log"
    CustomLog "logs/dummy-host2.example.com-access.log" common
</VirtualHost>

NameVirtualHost tutoriel2:80
<VirtualHost tutoriel2:80>
   DocumentRoot "C:/wamp/www/tutoriel2/public"
   ServerName tutoriel2

   # This should be omitted in the production environment
   SetEnv APPLICATION_ENV development

   <Directory "C:/wamp/www/tutoriel2/public">
       Options Indexes MultiViews FollowSymLinks
       AllowOverride All
       Order allow,deny
       Allow from all
   </Directory>

</VirtualHost>

ensuite j'ai modifier mon host

# Copyright (c) 1993-2009 Microsoft Corp.
#
# This is a sample HOSTS file used by Microsoft TCP/IP for Windows.
#
# This file contains the mappings of IP addresses to host names. Each
# entry should be kept on an individual line. The IP address should
# be placed in the first column followed by the corresponding host name.
# The IP address and the host name should be separated by at least one
# space.
#
# Additionally, comments (such as these) may be inserted on individual
# lines or following the machine name denoted by a '#' symbol.
#
# For example:
#
#      102.54.94.97     rhino.acme.com          # source server
#       38.25.63.10     x.acme.com              # x client host

# localhost name resolution is handled within DNS itself.
#    127.0.0.1       localhost
#    ::1             localhost
127.0.0.1       tutoriel2
127.0.0.1       localhost.

ensuite j'ai copier mon fichier Zend dansc:\\zendframework\librairy\zend dans librairy de mon projet .mais quand je vait dns l'url et je tappe tutoriel2 :mon projet il m'affiche bien tutoriel2 dans l'url mais je tombe sur l'index de wamp
voila je sais pas si j'ai étais clair si quelqun peut m'aiguiller merci

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