08 Nov 2015 @ 12:09 AM 

laravel5

I decided to give laravel a go. I am not expert in php development but I hope this php framework can help me learn how to build a php website in a rapid way.

First, I was trying to use Vagrant or Homestead in windows as suggested but end up I gave up due to big file download and failed at the end.

Then I found Laragon. It is a very good software for windows. I was able to install it easily in Windows 10 and follow a few chapters in tutorial.

A few days ago, my iPro Livepad volume rocker has problem so I decided to use my old Asus laptop as my development machine. I re-formatted the Ubuntu 9.10 to 14.04 and try to install all the requirements to get laravel 5.1 to work.

Learning laravel 5 is not an easy journey for VB programmer like me who spend most of time with windows platform. I have little knowledge in ubuntu and document structure in linux environment.

I found some challenges in running laravel in linux system. First I need to understand how to use sudo command and deal with file permission. However, typing these commands in terminal is not a problem for me. Then I found not much tutorial on setting up laravel in ubuntu lamp. Instead, I found it is quite strange that there are more tutorials using vagrant, wamp or xamp.

Then I found tutorial that lead me to install ‘laravelnew’ in /var/www/html/laravelnew. I tried to change the web browser URL to http://localhost/laravelnew but this is not working. The correct laravel welcome page is accessible by browsing http://localhost/laravelnew/public. I search through the internet and found many people like me struggle to get it work by changing the .htaccess file, server.php, /etc/apache2/apache2.conf file and setting up virtual host in order to remove the public folder from the path. I searched for whole day but I can’t find a good solution. The basic routing is not working with the steps mentioned.

Then I try to follow steps in this page to reinstall laravel. What I learned in this page is to install laravel in /var/www/laravel instead of /var/www/html/laravel. The URL is now accessible without the public path and basic routing is working.

I hope a beginner like me found this blog and help him getting away from this frustration.

Installing laravel 5: http://blog.luutaa.com/cloud/setting-up-laravel-5-on-digital-ocean-ubuntu-on-apache/

Recommended tutorial: http://www.tutorials.kode-blog.com/laravel-hello-world

Posted By: Aeric
Last Edit: 08 Nov 2015 @ 12:42 AM

EmailPermalinkComments (0)
Tags
 21 Sep 2009 @ 3:54 AM 

I have downloaded the package for the latest Apache 2.2.13 and try to install it on Debian Lenny. I tried the steps in the help file and tutorial but no success.
The command goes like this:
$ ./configure \
$ –prefix=/usr/local/apache2 \
$ make
$ make install
The terminal said that my C Compiler was not found. I used Synaptic Package Manager to install the g++, gcc… but still unable to use the ‘make’ command in terminal. I was so frustrated until I fired up Epiphany Web Browser and Google for “install apache2 lenny” and lead me to the following website:
http://www.howtoforge.com/installing-apache2-with-php5-and-mysql-support-on-debian-lenny-lamp
By following the simple steps, i.e. using 1 line of command:
aptitude install apache2
Voila! The terminal downloads the files automatically and configures all!
I open the web browser and type in the address:
http://localhost/
the screen shows:
It works!

(This post is made in Linux environment.)

Posted By: Aeric
Last Edit: 21 Sep 2009 @ 03:54 AM

EmailPermalinkComments (0)
Tags
Tags: , , , , , ,
Categories: News

 Last 50 Posts
 Back
Change Theme...
  • Users » 2
  • Posts/Pages » 129
  • Comments » 195
Change Theme...
  • VoidVoid « Default
  • LifeLife
  • EarthEarth
  • WindWind
  • WaterWater
  • FireFire
  • LightLight