demo icon indicating copy to clipboard operation
demo copied to clipboard

Errors on installation on php8

Open Vasiliy-Makogon opened this issue 3 years ago • 5 comments

Hi. Local web serwer (OpenServer_5_3_8) on Win 8.1, PHP8, all extensions intalled (Ctype, iconv, JSON, PCRE, Session, SimpleXML,Tokenizer, sqlite)

An attempt to run the command "symfony new . --demo" fails:

изображение изображение

And other errors from web path: изображение

Why?

Vasiliy-Makogon avatar Apr 07 '21 14:04 Vasiliy-Makogon

IIRC, symfony new --demo uses the released version of the demo. Proper support for PHP 8 was added after the last release and is only in the dev version for now.

stof avatar Apr 07 '21 15:04 stof

do I understand correctly that I cannot install a demo on PHP 8 until this pull request is not approved?

well, what doing this commit? - [Allow PHP 8 to run the project] (https://github.com/symfony/demo/commit/782b08d3ee6360a75422a87a7f80560843757699)

Vasiliy-Makogon avatar Apr 07 '21 17:04 Vasiliy-Makogon

At moment symfony new --demo and composer create-project symfony/symfony-demo pick an older version that doesn't work on PHP 8. The PR #1194 plus a new release should fix that.

For now you can try the following to install the demo

git clone https://github.com/symfony/demo.git demo
cd demo
composer install

and to start the demo

symfony serve -d
symfony open:local

rosier avatar Apr 07 '21 18:04 rosier

Hi. Local web serwer (OpenServer_5_3_8) on Win 8.1, PHP8, all extensions intalled (Ctype, iconv, JSON, PCRE, Session, SimpleXML,Tokenizer, sqlite)

An attempt to run the command "symfony new . --demo" fails:

изображение изображение

And other errors from web path: изображение

Why? problems with downloading from another web (expetionproblems with downloading from another web (expetion)

vinobastine avatar Apr 07 '21 19:04 vinobastine

directly out of the web when I have a download from soul browswer

vinobastine avatar Apr 07 '21 19:04 vinobastine

Let's close this old issue because we haven't received similar reports from other users. Thanks.

javiereguiluz avatar Dec 13 '22 15:12 javiereguiluz