Contenu | Rechercher | Menus

Annonce

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 24/04/2016, à 22: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, à 17:33

JeanLucJ

Re : problème installation symfony2

Il faut en fait (d'après leur site) faire :

Source

pear channel-discover pear.phing.info
pear install [--alldeps] phing/phing

a+

Hors ligne

#3 Le 27/04/2016, à 09: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, à 10: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, à 11: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, à 11:33

HP

Re : problème installation symfony2

@Hunkyu +1


cat /dev/urandom >/dev/null 2>&1 #github

Hors ligne

#7 Le 27/04/2016, à 17: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, à 16: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