Bonjour,
Je tiens à vous dire que je suis novice avec linux et avec le développement informatique tout court.
Mon problème est celui indiqué dans le topic du post.
En premier lieu j'ai lancé la commande indiquée sur le site de symfony pour télécharger ce dernier
wget https://get.symfony.com/cli/installer -O - | bash
j'ai une réponse positive :
The Symfony CLI v4.5.5 was installed successfully!
il m'est aussi dit de faire ceci :
1 2 3 4 5 6 7
| Add this to your shell configuration file:
export PATH="$HOME/.symfony/bin:$PATH"
Start a new shell, and then run 'symfony'
Or install it globally on your system:
mv /home/administrateur/.symfony/bin/symfony /usr/local/bin/symfony
and then run 'symfony' |
La première commande
export PATH="$HOME/.symfony/bin:$PATH"
ne fonctionne pas, j'ai en retour export : La deuxième non plus
mv /home/administrateur/.symfony/bin/symfony /usr/local/bin/symfony
: Aucun fichier ou dossier de ce type....
Bon j'essaie quand même de lancer la création d'un projet avec la commande :
composer create-project symfony/website-skeleton monpjt
et là je me fais insulter :
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48
|
PHP Warning: PHP Startup: Unable to load dynamic library 'curl' (tried: /usr/lib/php/20170718/curl (/usr/lib/php/20170718/curl: cannot open shared object file: No such file or directory), /usr/lib/php/20170718/curl.so (/usr/lib/php/20170718/curl.so: cannot open shared object file: No such file or directory)) in Unknown on line 0
Installing symfony/website-skeleton (v4.3.1.2)
- Installing symfony/website-skeleton (v4.3.1.2): Loading from cache
Created project in monpjtt
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
Your requirements could not be resolved to an installable set of packages.
Problem 1
- Installation request for facebook/webdriver 1.6.0 -> satisfiable by facebook/webdriver[1.6.0].
- facebook/webdriver 1.6.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
Problem 2
- facebook/webdriver 1.6.0 requires ext-curl * -> the requested PHP extension curl is missing from your system.
- symfony/panther v0.4.0 requires facebook/webdriver ^1.5 -> satisfiable by facebook/webdriver[1.6.0].
- Installation request for symfony/panther v0.4.0 -> satisfiable by symfony/panther[v0.4.0].
To enable extensions, verify that they are enabled in your .ini files:
- /etc/php/7.2/cli/php.ini
- /etc/php/7.2/cli/conf.d/10-opcache.ini
- /etc/php/7.2/cli/conf.d/10-pdo.ini
- /etc/php/7.2/cli/conf.d/15-xml.ini
- /etc/php/7.2/cli/conf.d/20-calendar.ini
- /etc/php/7.2/cli/conf.d/20-ctype.ini
- /etc/php/7.2/cli/conf.d/20-dom.ini
- /etc/php/7.2/cli/conf.d/20-exif.ini
- /etc/php/7.2/cli/conf.d/20-fileinfo.ini
- /etc/php/7.2/cli/conf.d/20-ftp.ini
- /etc/php/7.2/cli/conf.d/20-gettext.ini
- /etc/php/7.2/cli/conf.d/20-iconv.ini
- /etc/php/7.2/cli/conf.d/20-json.ini
- /etc/php/7.2/cli/conf.d/20-mbstring.ini
- /etc/php/7.2/cli/conf.d/20-phar.ini
- /etc/php/7.2/cli/conf.d/20-php-remctl.ini
- /etc/php/7.2/cli/conf.d/20-posix.ini
- /etc/php/7.2/cli/conf.d/20-readline.ini
- /etc/php/7.2/cli/conf.d/20-shmop.ini
- /etc/php/7.2/cli/conf.d/20-simplexml.ini
- /etc/php/7.2/cli/conf.d/20-sockets.ini
- /etc/php/7.2/cli/conf.d/20-sysvmsg.ini
- /etc/php/7.2/cli/conf.d/20-sysvsem.ini
- /etc/php/7.2/cli/conf.d/20-sysvshm.ini
- /etc/php/7.2/cli/conf.d/20-tokenizer.ini
- /etc/php/7.2/cli/conf.d/20-wddx.ini
- /etc/php/7.2/cli/conf.d/20-xmlreader.ini
- /etc/php/7.2/cli/conf.d/20-xmlwriter.ini
- /etc/php/7.2/cli/conf.d/20-xsl.ini
You can also run `php --ini` inside terminal to see which files are used by PHP in CLI mode. |
Le dossier du projet est bien créé et à l'intérieur il y a seulement deux fichiers composer.json et composer.lock...
J'ai bien compris que le problème était avec l'extension curl, j'ai essayé diverses manips...
Je suis tombé sur un forum où je trouve des infos qui disent de décommenter : extension=curl dans le fichier php.ini
C'est ce que je fais sans succès
merci d'avance je vous serait très reconnaissant de me donner quelques pistes...
Partager