U
U
unlik2015-06-20 16:47:52
PHP
unlik, 2015-06-20 16:47:52

Installing Laravel 5.1 via phpstorm?

When installing laravel 5.1.x via phpstorm it gives an error. When installing laravel 5.0.x, everything is installed successfully. Tried different encodings, all the same krakozyabry in error. Where to dig?
nstalling laravel/laravel (v5.1.1) -
Installing laravel/laravel (v5.1.1)
Downloading
Created project in C:\Users\home\PhpstormProjects\untitled14\composer
"php"
®¬ ¤®©, ЁbЇ®«пҐ¬®© Їа®Ја ¬¬®© Ё«Ё Ї ЄҐвл¬д ©«®¬.
Script php -r "copy('.env.example', '.env');" handling the post-root-package-install event returned with an error
[RuntimeException]
Error Output: "php
" Ја ¬¬®© Ё«Ё Ї ЄҐвл¬д ©«®¬.

Answer the question

In order to leave comments, you need to log in

6 answer(s)
N
Nastya Sukharik, 2018-09-18
@nastya_cyxarik

if the post is only in one category, then it is enough, the table of posts, the table of categories and in the posts to bind the category_id.
But according to the normal table of posts, categories and impoverished post_category table with post ids and category ids

A
Alex-1917, 2018-09-18
@alex-1917

And if the categories are supposed to have several levels of nesting, then definitely the categories in a separate table plus a table of links to posts.

E
Eugene, 2018-09-19
@Eugeny1987

Categories
| id | name |
-------------
| 1 | linux |
| 2 | windows |
Posts
| id | category_id | name |
------------------------------
| 1 | 1 | Setting up SSH |
| 2 | 2 | Installing WAMP |

R
Rikcon, 2015-06-20
@Rikcon

Apparently can't do copy('.env.example', '.env');
Why do you need it through phpstorm ?
From the console, they calmly installed according to the instructions from the documentation and that's it.

A
Anton, 2015-06-26
@Yadalay

Installed via PhpStorm - everything was in order.

D
Denis Denis, 2015-07-06
@golovewkin

try updating php and composer. I had something similar
and more. If you have OpenServer, then you need to run phpStorm from under it. For example, I bookmarked. The PATH variable must also be set correctly.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question