Pages : 1
#1 Le 24/04/2016, à 21:30
- olivier114
problème installation symfony2
Bonjour,
Pour installer symfony2 j'ai suivi ce petit tutoriel
symfony2
Tout se passe bien jusque a que l'on me demande de taper la commande suivante:
sudo pear install --alldeps http://phing.info/pear/phing-current.tgz
cela m'affiche ceci:
Could not download from "http://phing.info/pear/phing-current.tgz" (File https://www.phing.info:443/pear/phing-current.tgz not valid (received: HTTP/1.1 404 Not Found
))
Invalid or missing remote package file
install failed
pourtant lors de la commande précédente soit celle ci:
sudo pear install symfony/symfony
on m'as bien afficher cela:
downloading symfony-1.4.20.tgz ...
Starting to download symfony-1.4.20.tgz (3,193,375 bytes)
.....................................................................................................................................................................................................................................done: 3,193,375 bytes
install ok: channel://pear.symfony-project.com/symfony-1.4.20
auriez vous une solution svp ?
Hors ligne
#2 Le 25/04/2016, à 16:33
- JeanLucJ
Re : problème installation symfony2
Il faut en fait (d'après leur site) faire :
pear channel-discover pear.phing.info
pear install [--alldeps] phing/phing
a+
Hors ligne
#3 Le 27/04/2016, à 08:21
- olivier114
Re : problème installation symfony2
merci pour la réponse
maintenant j'obtient ceci:
Symfony Requirements Checker
~~~~~~~~~~~~~~~~~~~~~~~~~~~~
> PHP is using the following php.ini file:
/etc/php/7.0/cli/php.ini
> Checking Symfony requirements:
...........E.........W..W..W......W
[ERROR]
Your system is not ready to run Symfony projects
Fix the following mandatory requirements
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* simplexml_import_dom() must be available
> Install and enable the SimpleXML extension.
Optional recommendations to improve your setup
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
* PHP-DOM and PHP-XML modules should be installed
> Install and enable the PHP-DOM and the PHP-XML modules.
* utf8_decode() should be available
> Install and enable the XML extension.
* intl extension should be available
> Install and enable the intl extension (used for validators).
* PDO should have some drivers installed (currently available: none)
> Install PDO drivers (mandatory for Doctrine).
Note The command console could use a different php.ini file
~~~~ than the one used with your web server. To be on the
safe side, please check the requirements from your web
server using the web/config.php script.
<br><br>
que faire ?
Hors ligne
#4 Le 27/04/2016, à 09:27
- Hunkyu
Re : problème installation symfony2
Salut,
Il se peut que cette doc ne soit plus à jour, mieux vaut te référer directement au site de Symfony
Pour l’installation, tu devrais plutôt taper cela :
sudo curl -LsS https://symfony.com/installer -o /usr/local/bin/symfony
$ sudo chmod a+x /usr/local/bin/symfony
Normalement curl est installé de base sur ton pc, dans le cas contraire, tu pourras faire un
apt-get install curl
Hors ligne
#5 Le 27/04/2016, à 10:24
- olivier114
Re : problème installation symfony2
symfony est installer seulement impossible de le lancer comme indiquer dans mon message précédant il y a ce que sa m'affiche
Hors ligne
#6 Le 27/04/2016, à 10:33
- HP
Hors ligne
#7 Le 27/04/2016, à 16:43
- Hunkyu
Re : problème installation symfony2
Est ce que ton serveur locale était déjà installé ?
Est ce un fichier basic, php fonctionne correctement ?
Je n'ai jamais installé symfony via ton tuto, je te conseillerais d'utiliser ce qui est préconisé par symfony.
Hors ligne
#8 Le 28/04/2016, à 15:08
- olivier114
Re : problème installation symfony2
j'ai suivi sur le site officiel de symfony aussi mais j'ai le même résultat
Hors ligne