Search Google

Saturday 2 May 2015

Laravel Installation Setup with XAMPP Portable in Windows 7


My Computer Spesification
  • OS Windows 7 SP1
XAMPP Portable Setup
  • Download , locate , extract and rename to your directory . (  ex  E:\xampp ).
COMPOSER Manual Setup
  • Run XAMPP Portable Control Panel v 3.2.1 ( E:\xampp\xampp-control.exe )
  • Start MySQL Services
  • Start Apache Services
  • Click Shell button in the right corner to open XAMPP SHELL BASH Command Prompt
  • type    cd e:\xampp\php
  • still on directory   e:\xampp\php    type
    php -r "readfile('');" | php
  • wait until the installation is complete
  • Create a new composer.bat file alongside composer.phar:
  • still on directory   e:\xampp\php    type
    echo @php "%~dp0composer.phar" %*>composer.bat
  • type
    composer -V
  • if you look at the composer title screen, then your installation successful
  • Now close the XAMPP command shell bash
  • Restart MySQL and Apache services on the XAMPP Portable Control Panel
  • Open XAMPP command shell bash
  • now just type composer  it will show composer title screen on shell bash. or type composer -V to show the version
  • Download , locate , extract and rename to XAMPP public directory ( ex E:\xampp\htdocs\mylaravelproject )
  • Open XAMPP Portable Control Panel
  • Dont forget to activate Apache and MySQL
  • Run XAMPP Portable SHELL Command Prompt
  • type cd E:\xampp\htdocs\mylaravelproject
  • type      composer create-project laravel/laravel mylaravelproject –prefer-dist       ( this is add laravel dependency source class manager to your mylaravelproject )
  • wait until finish downloading dependency class manager to your laravel local project  ( if you dont know the dependency management read this or this )
  • After finish   type on your browser   http://localhost/mylaravelproject/public     It Show your laravel project home view
Ok next we will discuss how to create Apache VIRTUAL HOST XAMPP Portable in Windows 7

No comments:

Post a Comment