Comment faire marcher en local symfony sans le serveur interne php?
j'ai réussi à faire tourner symfony avec le serveur interne php (version php 5.5)
mais je veux le faire avec le serveur apache chose que je n'arrive pas à faire.
J'ai WAMP 2.5 d'installé et windows 7
http://symfony.com/doc/current/cookb...iguration.html
J'ai édité le fichier hosts qui est dans C:\Windows\System32\drivers\etc
Code:
1 2 3
|
127.0.0.1 localhost
127.0.0.1 symfony #symfony |
j'ai décommenté la ligne qu'il faut pour activer les virtualhost, dans C:\wamp\bin\apache\apache2.4.9\conf\extra\httpd-vhosts.conf
et dans le fichier httpd.conf j'ai les lignes suivantes :
Code:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
|
<VirtualHost 127.0.0.1:80>
DocumentRoot "C:\wamp\www\Symfony\web"
ServerName symfony
<Directory C:\wamp\www\Symfony\web>
# enable the .htaccess rewrites
AllowOverride All
Order allow,deny
Allow from All
</Directory>
ErrorLog C:\wamp\www\Symfony\project_error.log
CustomLog C:\wamp\www\Symfony\project_access.log combined
</VirtualHost> |
donc en tapant symfony dans mon navigateur préféré, j'ai une erreur 404, voilà si vous pouvez m'aider merci.
J'ai fait d'autre vhost qui marchent sans problème.
PHP tourner comme module Apache