September 10, 2014 — kyle.huynh205
Install Laravel in Windows & CentOS server
In Windows:
- Install Composer from this link. In this step, the installer will ask you the directory of
php.exe
, you should putC:\xampp\php\php.exe
if you use XAMPP OR putc:\wamp\bin\php\php5\php.exe
- Clone by enter
git clone https://github.com/laravel/laravel.git
in Git Bash terminal or download Laravel. - Make sure enable openssl from all php.ini files. If you used WAMPP, make sure Click onphp_openssl, php_curl, php_socket enabled.
- Open command line, (cmd) go to your Laravel directory, type command
composer install
- Launch Laravel project in browswer
http://localhost/laravel-project-name/public
. If you see the following, it means you have installed Laravel successfully.