Error in PHP lareval framework Configuration

Source: Internet
Author: User
Tags parse error

Two days ago, when learning PHP lareval framework, downloaded from the official web Lareval installation package, according to the network Configuration Tutorial 1.1 point configuration, when you click on the public file run there is a problem that I have a headache, Myself and two other great gods found long time to find the wrong reason for the very pit:

Error type:

Parse error:syntax error, unexpected ' class ' (T_class), expecting identifier (t_string) or variable (t_variable) or ' {' O R ' $ ' in/var/www/learn/laravel/public/index.php on line 50

Cause of Error:

This is a PHP version of the problem, laravel5.1 PHP version requirements are PHP >= 5.5.9

For, the above that can not be low-level error, I can only say at this stage of the learning process of their own too much pursuit of efficiency, and never to seriously understand, so as to learn to digest.

Error in PHP lareval framework Configuration

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.