Skip to main content

Posts

Showing posts from September, 2017

2017: Setting up Laravel on Ubuntu 16.04

Each operating system has it's own issues. I ran into one recently when installing Laravel on my Ubuntu System. Before I begin, this is what I did to get it initialized. I installed LAMP In terminal run php -v If it comes back as 5.6 you'll have to change the version to the latest version, i.e. 7.1 To do that, open your terminal and enter the following $ sudo a2dismod php5.6 $ sudo a2enmod php7.1 $ sudo service apache2 restart Verify that it's the new version: php -v Next, get composer.  Go to  https://getcomposer.org/download/  and follow the instructions. cd into your LAMP root directory Run the following command to create a Laravel project: sudo composer create-project laravel/laravel your-project-name --prefer-dist Wait until it's complete and navigate to your newly created directory/public folder in your browser http://localhost/ your-project-name /public At this point I received an error and it stated: The stream or file "/hom

2017: Getting started with Laravel 5.4 on Windows

It can be quite overwhelming to get started with Laravel on Windows OS. This was meant to guide you through a fresh install. Just imagine you bought a new Windows computer and you want to start web-development, specifically with Laravel. This guide is for you. With that said, lets begin: Install WAMP You need this for PHP, MySQL, Apache Go to  http://www.wampserver.com/en/ Click Download Based on your computer's architecture, select either the 32-bit or 64-bit download option (mine is a 64-bit) Click download directly . If you get an error or sourceforge.net, look at the middle of the page and find:   Looking for the latest version? Download wampserverxx.xx.xx_x64.exe (xxx.x MB) Once you download it, run it and install it. Open it and you'll see the WAMP server logo in the task bar. Hopefully it's green. Left-click on the icon and scroll over PHP , then Version . Click on the latest version of PHP. Currently it's at 7.1.9. At this point, just to make