Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Symfony returning error : some parameters are missing. Please provide them

Tags:

php

symfony

I'm trying to install symfony on wamp server, i'm installing through composer. I tried below command in cmd

$ composer create-project symfony/framework-standard-edition sym2

Above command is installing properly symfony latest version on wamp but in the end it returning an error or request for edit something.

Creating the "app/config/parameters.yml" file`

I attached cmd screen shot for the reference, can any on guide me how can i solve this issue. I have also update the composer phar before installing symfony.

enter image description here

like image 775
Ayaz Ali Shah Avatar asked Dec 19 '22 14:12

Ayaz Ali Shah


1 Answers

It's not a bug (error), it's a feature.

There's no error, only information.

CMD waits for you to provide values for these missing parameters. Right here in the command line, not directly into parameters.yml file.

Currently on the screen it's waiting for you to provide database_host or simply press enter to apply default value which is shown in the brackets (127.0.0.1).

This is Interactive Management of the parameters.yml File

like image 98
Jakub Matczak Avatar answered Mar 02 '23 00:03

Jakub Matczak