😀 The tittle said Step by Step Laravel for Dummy. Well… I am new to Laravel. I am learning Laravel and I want to share something for dummy just like me.
Sure, first we must know what is Laravel? In Laravel page, I found description about them self; Laravel is a clean and classy framework for PHP web development.
And You may have another question, why Laravel? Well… For me coding is fun. Coding just like game for me. So no matter framework is, I will learn about it. But wait… I like laravel because it use PHP 5.3. 🙂
I will not tell you more about Laravel. Let we begin to use it;
|1.||Just grab Laravel bundle on the web and extract it wherever you want.|
|In this case, I extract in my home folder; /home/kenzominang/mylaravel|
|2.||Setup virtual host for mylaravel|
|– Just go to folder /etc/apache2/conf.d/ and create a new file. Ex; mylarafel.conf|
<VirtualHost 127.0.0.9> DocumentRoot "/home/kenzominang/mylaravel/public" ServerName linmas <Directory "/home/kenzominang/mylaravel/public"> Options Indexes FollowSymLinks MultiViews AllowOverride all </Directory> </VirtualHost>
|– Open /etc/hosts and add this line below|
|3.||Restart apache to make it work|
$ sudo /etc/init.d/apache2 restart
php_value safe_mode off