Category : Ubuntu


How to create quick apache virtual host in Ubuntu?

We always require to create virtualhost on each project because we don't want to run each project manually, so it is better way to create virtual host address for each project when you development like as bellow: <pre> http://blog.dev http://test.dev http://example.dev http://demo.dev </pre> It will best way to run our project on local system. But if you want to create virtual host on ubuntu, you have to follow several step like site enabled, site enabled config, site directory permission, hosts entry and etc. You have to follow several step on each virtual host create time. I think it take a.....

By Hardik Savani | December 7, 2016 | | 281 Viewer | Category : Ubuntu
READ MORE

How to install composer using command line in ubuntu ?

Composer through we can get packages from git and use it in our project. But you require to install composer in your system for getting packages. You can get packages for core PHP, Laravel, codeigniter etc. So, If you are working on ubuntu OS and you require to install composer then this post will help you quickly install composer using terminal command line in your ubuntu system. First Open your terminal and fire bellow three commands, i listed just three command to install composer, you have to just run one by one: <pre class="prettyprint lang-php"> curl -sS https://getcomposer.org/install.....

By Hardik Savani | November 18, 2016 | | 390 Viewer | Category : Ubuntu
READ MORE

How to connect mysql database in node js with example?

Node.js is very popular in Todays for make chat system, real-time notification, real-time developing etc. So, Today, I am going to give you very simple example of How to use MySQL Query in Node JS. If you use node.js then you can see how it is work and there are several driver for different task like redis, socket io, express etc. But Node.js have a driver for MySQL that way we can easily connect with database and you can use select, insert, update and delete sql query. So, in this example i going to give from scratch so if you are beginner and you haven't installed nodejs on your server th.....

By Hardik Savani | September 29, 2016 | | 740 Viewer | Category : Ubuntu
READ MORE

Solve - Installation request for guzzle/guzzle in laravel

When i was working on my updated ubuntu version, i did fetch this problem. I had ubuntu 14.04 then i updated ubuntu 16.04, at that time i think PHP version also updated PHP 5 from PHP 7. Ubuntu 16 updated successfully but when i was trying to composer install or update on my project i was found guzzle package error and to enable extensions php 7 extensions as like bellow: <strong>Error</strong> <pre> Problem 1 - Installation request for guzzle/guzzle v3.8.1 -> satisfiable by guzzle/guzzle[v3.8.1]. - guzzle/guzzle v3.8.1 requires ext-curl * -> the requested PHP extension curl is missing from .....

By Hardik Savani | August 15, 2016 | | 935 Viewer | Category : Ubuntu
READ MORE

How to create virtual host in ubuntu apache?

we always like to create virtual host and run our project that way we can debug properly and run as like our website. But if you are working on ubuntu then we have always follow several step to create virtual host and that very long process. So, i found one package that provide virtualhost command that way we can create new virtual host and also delete virtual host command. so just follow bellow step: <strong class="step">Create virtualhost command</strong> <pre> $ cd /usr/local/bin $ wget -O virtualhost https://raw.githubusercontent.com/RoverWire/virtualhost/master/virtualhost.sh $ chmod +x.....

By Hardik Savani | June 14, 2016 | | 386 Viewer | Category : Ubuntu
READ MORE

Install Sublime Text 3 in Ubuntu 14.04 using Terminal

Nowdays, Sublime Text Editor is a most popular text editor in the world. Sublime Text Editor 3 are provide several packages like CodeFormatter, GitGutter, Git, Sidebar etc and that's why it is most popular and wide used in today. If you want to install sublime text editor 3 in your ubuntu operating system then you can install easily using bellow terminal command. So just run bellow command and install sublime text editor. <strong>Command:</strong> <pre class="prettyprint lang-php"> sudo add-apt-repository ppa:webupd8team/sublime-text-3 sudo apt-get update sudo apt-get install sublime-text-in.....

By Hardik Savani | May 18, 2016 | | 688 Viewer | Category : Ubuntu
READ MORE

How to uninstall cordova and ionic in ubuntu

If you require to remove cordova and ionic from ubuntu then you uninstall using terminal command. you can uninstall cordova then you can just run bellow command. I added two command one for uninstall cordova and other uninstall ionic framework. <strong>Example:</strong> <pre class="prettyprint lang-php"> sudo npm uninstall -g cordova sudo npm uninstall -g ionic </pre>

By Hardik Savani | May 10, 2016 | | 1651 Viewer | Category : Ubuntu
READ MORE

How to Install Sublime Text Editor 3 in Ubuntu?

Sublime Text is a very popular text editor in nowdays. Most of the developer chooes Sublime Test for codding because it is very smooth and pretty easy. I think specially most of the PHP developer are chooes sublime for developing. If you are working on ubunu system then you can install very easily, so just run bellow command for install Sublime Text 3 in Ubuntu. <pre> sudo add-apt-repository ppa:webupd8team/sublime-text-3 sudo apt-get update sudo apt-get install sublime-text-installer </pre>

By Hardik Savani | April 29, 2016 | | 470 Viewer | Category : Ubuntu
READ MORE

How to increase upload file size limit PHP in Ubuntu?

When i was working on my php project and i need to direct import mysql database in my phpmyadmin in Ubuntu 14.04 system, but my database size was 30MB, so i can't upload my database. that's why I need to change upload max file in php.ini. so try to find something how to change upload_max_filesize in php apache2. So if you also fetch problem like this then you can solve that issue just following example: <strong>Open php.ini file</strong> <pre> sudo gedit /etc/php5/apache2/php.ini </pre> After run above command you can open php.ini file and find bellow value and change value: <pre> upload_max_f.....

By Hardik Savani | April 20, 2016 | | 623 Viewer | Category : Ubuntu
READ MORE

How to get php.ini file path?

You can get location path of php.ini file using php_ini_loaded_file() of PHP. Sometimes we require to get php.ini file path. So, if you need to get path of php confogration file then you can get following way: <strong>Example:</strong> <pre class="prettyprint lang-php"> print_r(php_ini_loaded_file()); </pre> You can find output something like bellow if you are use ubuntu system: <pre>/etc/php5/apache2/php.ini</pre>

By Hardik Savani | April 20, 2016 | | 767 Viewer | Category : Ubuntu
READ MORE

    Laravel 5 - create quick backend admin panel tutorial

    Laravel 5 - create quick backend admin panel tutorial

    Open Post

    Laravel 5.2 and AngularJS CRUD with Search and Pagination Example.

    Laravel 5.2 and AngularJS CRUD with Search and Pagination Example.

    Open Post

    How to implement Email Verification with Activation Code example from Scratch in Laravel 5.2 ?

    How to implement Email Verification with Activation Code example from Scratch in Laravel 5.2 ?

    Open Post

    Laravel 5.2 chat message module using socket.io, redis, express and nodejs from from scratch.

    Laravel 5.2 chat message module using socket.io, redis, express and nodejs from from scratch.

    Open Post

    How to implement lazy loading image with example for your website?

    How to implement lazy loading image with example for your website?

    Open Post

    How to add charts in Laravel 5 using Chart JS ?

    How to add charts in Laravel 5 using Chart JS ?

    Open Post