Вы находитесь на странице: 1из 2

Programmation web avances ZEND FRAMEWORK

Configuration du Framework zend :


1. Installer wampserver en choisissant Google chrome comme navigateur par dfaut
2. Ouvrir le fichier httpd.conf dApache. Chercher la directive <Directory c:
/wamp/www/ > et remplacer la ligne Deny from all par Allow from all .
3. Ouvrir votre navigateur et taper localhost dans votre barre dadresse, la page
dacceuil de wampserver doit safficher.
4. Dans le c:/ crer une nouveau dossier et nommer le SitesWeb
5. Crer un dossier test qui contient un dossier public dons le dossier SitesWeb.
Arborescence finale SitesWeb/test/public
6. Editer le fichier hosts et remplacer localhost dans la dernire ligne par test
7. En tapant test dans la barre dadresse du navigateur vous devez avoir la page daccueil
du wampserver.
8. Ouvrir le fichier htppd.conf dapache et activer le module mod_rewrite
9. Activer la ligne Include conf/extra/httpd-vhosts.conf
10. Ouvrir le fichier httpd-vhosts.conf(dans le dossier extra du dossier conf dapache )
11. Remplacer NameVirtualHost * :80 par
12. Mettre aprs #configuration.
<Directory c:/SitesWeb>
Options Indexes FollowSymLinks Includes ExecCGI
DirectoryIndex index.php
AllowOverride All
Order allow,deny
Allow from all
Require all granted
</Directory>
13. Remplacer les deux directves <virtualhsot ..> la fin du fichier par :
<VirtualHost *:80>
ServerName localhost
DocumentRoot "c:/wamp/www"
</VirtualHost>
<VirtualHost *:80>
ServerName test
DocumentRoot "c:/SitesWeb/test/public"
SetEnv APPLICATION_ENV "development"
</VirtualHost>
14. Sauvegarder et fermer le fichier. Ouvrir un bloc note et taper le code suivant :
< ? php
Echo test ;
?>
A.BENJELOUAJA

Page 1

Programmation web avances ZEND FRAMEWORK

15.
16.
17.
18.
19.

20.

Enregistrer le fichier dans le dossier public sous le nom index.php, actualiser la page test
du navigateur, vous devez voir votre page php affiche.
Tlcharger le zip ZendSkeletonApplication
Extraire le zip dans le dossier test
Modifier votre variable denvironnement PATH en ajoutant le chemin vers votre
dossier php. Exemple de chemin possible C:\wamp\bin\php\php5.5.2
Redmarrer votre ordinateur
Dans un invit de commande taper les commandes suivantes :
cd c:\SitesWeb\test
php composer.phar self-update
php composer.phar install
Actualiser votre navigateur.

A.BENJELOUAJA

Page 2

Вам также может понравиться

  • Module 2: L'entreprise Et Son Environnement
    Module 2: L'entreprise Et Son Environnement
    Документ169 страниц
    Module 2: L'entreprise Et Son Environnement
    adnaneadnane
    90% (155)
  • EFM
    EFM
    Документ3 страницы
    EFM
    Amina Benjelouaja
    100% (2)
  • Module 06 Production de Documents Tmsir Ofppt
    Module 06 Production de Documents Tmsir Ofppt
    Документ30 страниц
    Module 06 Production de Documents Tmsir Ofppt
    XtanbasMohamed
    Оценок пока нет
  • Poo tp1
    Poo tp1
    Документ5 страниц
    Poo tp1
    Amina Benjelouaja
    100% (1)
  • m20 - E-Commerce CM Atv
    m20 - E-Commerce CM Atv
    Документ43 страницы
    m20 - E-Commerce CM Atv
    Sami Charaf
    100% (2)
  • Techniques Secretariat MTP TSB
    Techniques Secretariat MTP TSB
    Документ60 страниц
    Techniques Secretariat MTP TSB
    Amina Benjelouaja
    100% (7)
  • Diagnostiquer Le Problème
    Diagnostiquer Le Problème
    Документ25 страниц
    Diagnostiquer Le Problème
    Amina Benjelouaja
    Оценок пока нет
  • Moyens de Recherche Emploi
    Moyens de Recherche Emploi
    Документ85 страниц
    Moyens de Recherche Emploi
    Driss Wassime
    Оценок пока нет
  • REF Bac Pro Commerce PDF
    REF Bac Pro Commerce PDF
    Документ170 страниц
    REF Bac Pro Commerce PDF
    Amina Benjelouaja
    Оценок пока нет
  • Examen de Fin de Foemation en Langue Française
    Examen de Fin de Foemation en Langue Française
    Документ5 страниц
    Examen de Fin de Foemation en Langue Française
    Amina Benjelouaja
    Оценок пока нет
  • EFM PE V2 Final
    EFM PE V2 Final
    Документ7 страниц
    EFM PE V2 Final
    Amina Benjelouaja
    Оценок пока нет
  • Algo td1
    Algo td1
    Документ1 страница
    Algo td1
    Amina Benjelouaja
    100% (1)
  • Cloud Computing Et Sécurité Approches Et Solutions
    Cloud Computing Et Sécurité Approches Et Solutions
    Документ4 страницы
    Cloud Computing Et Sécurité Approches Et Solutions
    Amina Benjelouaja
    Оценок пока нет
  • Mode Déconnecté
    Mode Déconnecté
    Документ1 страница
    Mode Déconnecté
    Amina Benjelouaja
    100% (1)
  • Syntaxecsharp PDF
    Syntaxecsharp PDF
    Документ5 страниц
    Syntaxecsharp PDF
    Amina Benjelouaja
    Оценок пока нет
  • Travail A Faire
    Travail A Faire
    Документ1 страница
    Travail A Faire
    Amina Benjelouaja
    Оценок пока нет
  • Data Binding
    Data Binding
    Документ1 страница
    Data Binding
    Amina Benjelouaja
    100% (1)
  • Module 3: Notions de Mathématiques Appliquées À L'informatique
    Module 3: Notions de Mathématiques Appliquées À L'informatique
    Документ44 страницы
    Module 3: Notions de Mathématiques Appliquées À L'informatique
    adnaneadnane
    65% (34)
  • G2+4efm Hypermedia
    G2+4efm Hypermedia
    Документ2 страницы
    G2+4efm Hypermedia
    Amina Benjelouaja
    Оценок пока нет
  • Efm Pe V2
    Efm Pe V2
    Документ7 страниц
    Efm Pe V2
    Amina Benjelouaja
    Оценок пока нет
  • Master Page
    Master Page
    Документ13 страниц
    Master Page
    Amina Benjelouaja
    Оценок пока нет
  • View State
    View State
    Документ7 страниц
    View State
    Amina Benjelouaja
    Оценок пока нет
  • TP Epicerie Ado Net
    TP Epicerie Ado Net
    Документ2 страницы
    TP Epicerie Ado Net
    Amina Benjelouaja
    Оценок пока нет
  • Csharp
    Csharp
    Документ253 страницы
    Csharp
    loesouleymane
    Оценок пока нет
  • Zend TP0
    Zend TP0
    Документ1 страница
    Zend TP0
    Amina Benjelouaja
    Оценок пока нет
  • Controle Java
    Controle Java
    Документ3 страницы
    Controle Java
    Amina Benjelouaja
    Оценок пока нет
  • Gestion Voyage ASP
    Gestion Voyage ASP
    Документ2 страницы
    Gestion Voyage ASP
    Amina Benjelouaja
    Оценок пока нет
  • G2+4efm Hypermedia
    G2+4efm Hypermedia
    Документ2 страницы
    G2+4efm Hypermedia
    Amina Benjelouaja
    Оценок пока нет
  • A Retenir
    A Retenir
    Документ1 страница
    A Retenir
    Amina Benjelouaja
    Оценок пока нет