PHP Job Requirements 2020

JOB RESPONSIBILITIES Extensive experience in software development, scripting and project management Experience in PHP (Laravel ) must be needed Familiarity with various PHP frameworks (e.g. Yii, Codeigniter, Symfony) In-depth knowledge of relational databases (e.g. MySQL, PostgreSQL) and NoSQL databases (e.g….

Compile and Build Apache2 and PHP-Fpm From Source on Linux (Part 2)

Download or copy PHP. Current Directory ~ src https://www.php.net/downloads.php wget https://www.php.net/distributions/php-7.3.16.tar.gz sudo gunzip php-7.3.16.tar.gz or gzip -d php-7.3.16.tar.gz tar -xvf php-7.3.16.tar.gz   First Install PHP dependencies Openssl Zlib Libxml Curl Icu   Download and install Openssl if not installed already…

18 Laravel Collection Methods with Example

18 Laravel Collection Methods with Example In this laravel collection methods tutorial, we will discuss about laravel collection methods and it’s uses with simple and easy example. We will illustrate some of the important and useful laravel collection methods. You…

Compile and Build Apache2 and PHP-Fpm From Source on Linux (Part 1)

Build Apache2 from souce manually. Install Apache2 and PHP-Fpm offline manually Directory Structure opt src www Download or copy apache. Current Directory ~ src https://apr.apache.org/download.cgi sudo wget https://www-eu.apache.org/dist//httpd/httpd-2.4.41.tar.gz sudo gunzip httpd-2.4.41.tar.gz or gzip -d httpd-2.2.9.tar.gz tar -xvf httpd-2.4.41.tar   First…

Laravel Repository-Service Pattern

Laravel Repository-Service Pattern Normal Laravel application is based upon MVC (Model-View-Controller) design pattern, which derives that all the database relation are established in Model layer and Controller handles all responses from client and server and give output as per defined logic. As Software Development Industry grows…

Oracle Query tutorial for procidural and package

$sql_assinged =”select t.wo_id, user_info_class.func_wo_sub(t.wo_id) as wo_subject, –func_group_member(t.group_id) as members, nvl(user_info_class.user_info(t.action_by_id, ‘NAME’), func_group_member(t.group_id)) as waiting, to_date(t.action_date, ‘dd/mm/yy hh12:mi:ss’) as executedDate, w.value as dateOfExecution from user_path t,tblwo w where t.wo_id = w.wo_id and t.status in (‘executed’, ‘verified’) and upper(w.field) like ‘%DATE%EXECUTION%’ and…

Docker essential command

Connect to docker mysql $ mysql -h localhost -P 3306 –protocol=tcp -u root -p mysql> SELECT user,authentication_string,plugin,host FROM mysql.user;      

Asynchronous JavaScript আর ‘promise’ ফাংশনালিটি

Abdullah Al Jahid -> ধরেন আপনার বন্ধু স্কুল এর স্যার এর কাছে প্রাইভেট পড়ে। আপনি আপনার বন্ধুকে একটা promise request করলেন, স্যার যদি সাজেশন দেন, তাহলে যেনো আপনাকে জানায়। সে আপনাকে promise করলো যে সে আপনাকে জানাবে, যদি সে সাজেশন…

Change php version on Ubuntu for both Console and script

How to Switch between Multiple PHP Version on Ubuntu Check php version sudo update-alternatives –config php Switch From PHP 5.6 => PHP 7.2 Apache:- sudo a2dismod php5.6 sudo a2enmod php7.2 sudo service apache2 restart   Command Line:- sudo update-alternatives –set…

Manually Installing phpMyAdmin for Apache server

Manually Installing phpMyAdmin (Ubuntu 18.04) Sometimes installing phpMyAdmin manually, as opposed to using apt, is necessary. This might be because you’re using MySQL 8 and/or PHP 7 and the version provided by Ubuntu’s apt repository either won’t install or won’t function…

Finding out what user Apache is running as?

apachectl -S ps aux | egrep ‘(apache|httpd)’   ps -ef | egrep ‘(httpd|apache2|apache)’ | grep -v `whoami` | grep -v root | head -n1 | awk ‘{print $1}’  

jQuery check plugin exists

jQuery check plugin exists if (!!$.prototype.cluetip) $(‘a.cluetip’).cluetip({ local:true, cursor: ‘pointer’, dropShadow: false, dropShadowSteps: 0, showTitle: false, tracking: true, sticky: false, mouseOutClose: true, fx: { open: ‘fadeIn’, openSpeed: ‘fast’ } }).css(‘opacity’, 0.8);  

Install Apache, Mysql, PHP (LAMP) on Ubuntu

Step 1: Update your system sudo apt-get update Step 2: Install Apache server sudo apt-get install apache2 apache2-doc apache2-utils libexpat1 ssl-cert Step 3: Install PHP (php7.2 latest version of PHP) sudo apt-get install libapache2-mod-php7.2 php7.2 php7.2-common php7.2-curl php7.2-dev php7.2-gd php-pear php-imagick…

Git show commit history & log

Git show commit list history $ git log -2 commit 089201879533848b55c957db2f7a6144d3a49159 (HEAD -> survey_video) Author: mr.chowdhury <mr.chowdhury@blmanagedservices.com> Date: Wed Oct 9 10:22:26 2019 +0600 temp file changes commit d3e41bb19d25e9121721ee57944a14df1a04f136 Author: mr.chowdhury <mr.chowdhury@blmanagedservices.com> Date: Wed Oct 9 10:12:32 2019 +0600 file…

Laravel 5 – Remove Public from URL

Laravel redirect root path to public directory <IfModule mod_rewrite.c> <IfModule mod_negotiation.c> Options -MultiViews </IfModule> RewriteEngine On RewriteCond %{REQUEST_FILENAME} -d [OR] RewriteCond %{REQUEST_FILENAME} -f RewriteRule ^ ^$1 [N] RewriteCond %{REQUEST_URI} (\.\w+$) [NC] RewriteRule ^(.*)$ public/$1 RewriteCond %{REQUEST_FILENAME} !-d RewriteCond %{REQUEST_FILENAME} !-f…