Tag : Configuration


Solve - no connection could be made target machine actively refused it laravel

I fetched this issue when i was new in laravel and i clone project on my bitbucket. I was tring to run my project, but when i composer update at last i had found this error : no connection could be made because the target machine actively refused it laravel. If you also found this error then <strong class="path">Check your Database Configration (database.php)</strong>. maybe you haven't setting of your database configration details. After this it will run try this, it was worked for me....

By Hardik Savani | June 22, 2016 | | 810 Viewer | Category : Laravel
READ MORE

How to set config file value in Laravel 5?

Whenever you need to get configuration files value then you can set using config helper in Laravel 5. In my previous post i added how to get config file value in laravel 5. If you are working on Laravel 4 then you should use Config facade for get and set value of config file. Maybe sometimes we require to set application url from app.php file or database name from database.php file so you can set this way: <strong>Example:</strong> <pre class="prettyprint lang-php"> config()->set('app.url','http://localhost:8000'); OR Config::set('app.url','http://localhost:8001'); </pre>

By Hardik Savani | May 30, 2016 | | 673 Viewer | Category : Laravel
READ MORE

How to get config file value in Laravel 5?

Whenever you need to get configuration files value then you can get using config helper in Laravel 5. If you are working on Laravel 4 then you should use Config facade for get and set value of config file. Maybe sometimes we require to get application url from app.php file or database name from database.php file so you can get this way: <strong>Example:</strong> <pre class="prettyprint lang-php"> config('app.url'); OR Config::get('app.url'); </pre>

By Hardik Savani | May 25, 2016 | | 974 Viewer | Category : Laravel
READ MORE

How to set git config username and email?

When you first time create your git repo or clone project from git repo then you must have to set username and email. You can also set global username email and also you can set per repository username email. So, in this post in bellow command through you can set global git username and email. <strong>Global Set:</strong> <pre class="prettyprint lang-php"> git config --global user.name "Haresh Patel" git config --global user.email "itsolutionstuff@gmail.com" git config --list </pre> You can also set username and email per project repo using bellow command. First you have to go on your projec.....

By Hardik Savani | May 19, 2016 | | 528 Viewer | Category : Git
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 | | 3924 Viewer | Category : Installation Ubuntu Ionic Framework
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 | | 757 Viewer | Category : PHP Installation 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 | | 1290 Viewer | Category : PHP Wampserver Installation Ubuntu
READ MORE

Connection for controluser as defined in your configuration failed - Ubuntu phpmyadmin Resolve?

When i was working on my PHP project since last 1 year on my current system and phpmyadmin was working very well. but one day i was working on my prjects and electricity off suddenly and when electricity on, i start my system again and open localhost/phpmyadmin, then i found following error: <pre>Connection for controluser as defined in your configuration failed.</pre> I did try lot to solve. i also reboot my ubuntu 14.04 system again but i found still that issue. i was very disappointed from this issue. But when i open my PHP Laravel framework project i found bellow issue: <pre>can't connect.....

By Hardik Savani | April 8, 2016 | | 842 Viewer | Category : Ubuntu
READ MORE

    Laravel 5 Google OAuth authentication using Socialite Package

    Laravel 5 Google OAuth authentication using Socialite Package

    Open Post

    PHP - autocomplete websites with domain and logo using clearbit API

    PHP - autocomplete websites with domain and logo using clearbit API

    Open Post

    CRUD (Create Read Update Delete) Example in Laravel 5.2 from Scratch

    CRUD (Create Read Update Delete) Example in Laravel 5.2 from Scratch

    Open Post

    How to get filename from file path in MySQL?

    How to get filename from file path in MySQL?

    Open Post

    Laravel 5.3 Image Upload with Validation example

    Laravel 5.3 Image Upload with Validation example

    Open Post

    Laravel 5.4 New Feature - Add new Components & Slots in Blade Template

    Laravel 5.4 New Feature - Add new Components & Slots in Blade Template

    Open Post