Laravel First Experience

Source: Internet
Author: User
Tags mcrypt

Official Document Address: http://www.golaravel.com/docs/4.1/introduction/

System Environment Mac OSX 10.9.2

Upgrade PHP
    1. Brew Update
    2. Brew Upgrade
    3. Brew Tap Homebrew/dupes
    4. Brew Tap josegonzalez/homebrew-php
    5. Brew Install Php55
Copy CodeInstalling composer
    1. https://getcomposer.org/doc/00-intro.md#globally-on-osx-via-homebrew-
Copy CodeInstalling Php55-mcrypt

(After starting access to the routing address, if prompted Mcrypt PHP extension required)

    1. 1.Mac Brew Install Php55-mcrypt
    2. 2.XAMPP I didn't get the hint, everything was fine. Php-i | grep mcrypt shown as Enabled
Copy CodeConfigure PHP.ini
    1. Extension=php_openssl.dll
Copy CodeCreate a new project
    1. Composer Create-project Laravel/laravel Demo
Copy CodeConfiguration/etc/hosts Personal Preferences)
    1. 127.0.0.1 localhost
    2. 127.0.0.1 Laravel.dev
Copy CodeConfigure/applications/xampp/xamppfiles/etc/extra/httpd-vhosts.conf
    1. ServerAdmin qbylucky@gmail.com
    2. DocumentRoot "/applications/xampp/xamppfiles/htdocs/demo/public"
    3. ServerName Laravel.dev
    4. Serveralias Laravel.dev
    5. Errorlog "Logs/qbylucky@gmail.com-error_log"
    6. Customlog "Logs/qbylucky@gmail.com-access_log" common
Copy CodeStart Project

Open XAMPP Apache Server
http://laravel.dev/

Knowledge points
    1. Location of PHP:
    2. 1.mac/usr/bin/php
    3. 2.xampp/applications/xampp/xamppfiles/bin/php
    4. PHP.ini's Location:
    5. 1.mac/etc/php.ini
    6. 2.xampp/applications/xampp/xamppfiles/etc/php.ini
Copy Code
Laravel
  • 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.