Wednesday, March 2, 2016

Wamp server 2.5 and laravel

Problems and solutions:

  1. Upgrade wamp sever from 2.2 to 2.5 as Laravel not support php below version 5.5:
         - First close wamp first and back up wamp folder and install the new wamp 2.5.
         - After finish install, you have to copy folder data from old wamp to replace the new wamp at the mysql folder(C:\wamp\bin\mysql\mysql5.6.17).
         - Copy  C:\wamp-back-\bin\apache\apache2.4.9\conf\extra\httpd-vhosts.conf from back up wamp folder and past to the new wamp.
         - Change $suppress_localhost value from true to fall in index.php of new wamp root.
      2.  Install Laravel:
        -  First install composer.
        -  Put php path at environment variable, example :C:\wamp\bin\php\php5.5.12 ( for go to environment variable you can right mouth ->computer->Advance system settings->environment variable. Now you can start using composer!