System Environment Requirements
Apache,nginx or other Web server;
Laravel uses some of the strong and powerful features of PHP, so it needs to be executed on PHP5.3 or higher;
Laravel using FileInfo library (http://php.net/manual/en/ book.fileinfo.php) to detect the MIME type of the file, this library is included by default in PHP5.3, but in Windows users need to open the module in php.ini, if not understand can look here: http://php.net/ manual/en/fileinfo.installation.php;
Laravel uses the MCrypt library (http://php.net/manual/en/book.mcrypt.php) to encrypt and generate hash, before using this framework, you need to ensure that the extension is installed, you can phpinfo (); Check the Web server for proper installation, if it is not viewable: http://php.net/manual/en/book.mcrypt.php;
Unzip the package file and upload it to the Web server;
Set the value of key in config/application.php, you can set a random content of 32 strings;
Verify that the storage/views is writable;
Access your app in a browser;
You've completed a Laravel installation here, and there's more to learn.
Install some additional extensions below so you can take full advantage of Laravel
SQLite, MySQL, PostgreSQL, or SQL Server PDO drivers.
Memcached or APC.
If you have an installation problem, try the following:
Make sure the public directory is the root directory of your site (see Server configuration below)
If you are using Mod_rewrite, set the index entry in application/config/application.php to null.
Verify that your storage folder is writable.
Here we guarantee a most basic Apache configuration, our Laravel root directory in:/users/jonsnow/sites/mysite
The configuration information is as follows:
Copy the Code code as follows:
Note: We install to/users/jonsnow/sites/mysite, our documentroot to/users/jonsnow/sites/mysite/public.
Laravel Getting started with a Windows environment, but doesn't require you to also use Windows, you can do it under your favorite system.
The installation of the PHP runtime environment is beyond the scope of this tutorial, and here are just the basic requirements.
PHP 5.3 and later
The environment used in this tutorial:
To install the Laravel frame:
Download Laravel framework: Laravel Official Download | GitHub download
Unzip the framework to the server directory
The simple two-step laravel framework is installed and is accessed in the browser in order to test if the installation is successful:
The public directory is the folder that comes with the framework, and if you see the initial interface of Laravel, it means that the installation was successful.
It is usually downloaded and installed using the dependent management method, if you need to install it offline, install it on a machine first and then copy the file out as an offline package.
Apache server words. htaccess file to control file access and jump, Laravel public is also written in the. htaccess file to control the routing.
http://www.bkjia.com/PHPjc/902777.html www.bkjia.com true http://www.bkjia.com/PHPjc/902777.html techarticle laravel Installation and configuration tutorial, laravel Configuration Tutorial system environment requirements Apache,nginx or other Web server; Laravel uses some of the powerful features of PHP, so it needs to be in P ...