P
P
potapovdmtriy2015-06-29 16:51:03
Laravel
potapovdmtriy, 2015-06-29 16:51:03

How to fix errors after installing laravel 5?

Installed from github
I go to public , gives
Warning: Unexpected character in input: '\' (ASCII=92) state=0 in D:\AppServ\www\test\tests\TestCase.php on line 3
Parse error: syntax error , unexpected T_STRING, expecting '{' in D:\AppServ\www\test\tests\TestCase.php on line 3
php version 6

Answer the question

In order to leave comments, you need to log in

3 answer(s)
O
OnYourLips, 2015-06-29
@potapovdmtriy

php version 6
You need to install a non-fictional version of php.
Because php 6 doesn't exist.

V
Vyacheslav Plisko, 2015-06-29
@AmdY

You need to install via composer. It will run additional scripts, execute composer install to pull up vendors, and create a config.
And you don’t need to go to public, your DOCUMENT_ROOT should point to it, and the entire project, including configs, should be above.

R
Rikcon, 2015-06-29
@Rikcon

Copy this file from the repository
https://github.com/laravel/laravel/blob/master/tes...

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question