tgo To switch to PHP 4.4: AddHandler application/x-httpd-php4 .php To switch to PHP 5.0: AddHandler application/x-httpd-php5 .php To switch to PHP 5.1: AddHandler application/x-httpd-php51 .php To switch to PHP 5.2: AddHandler application/x-httpd-php52 .php To switch to PHP 5.3: AddHandler application/x-httpd-php53 .php To switch to PHP 5.4: AddHandler application/x-httpd-php54 .php ToRead More →

Uninstall or Completely remove mysql from ubuntu 16-04 While upgrading from ubuntu 16.04.1 to ubuntu 16.04.03, we had face once issue that we unexpected.This incident are cause by mysql server update, while setting up the mysql by apt, its hang on the server and will not work for leaving itRead More →

Read PHP file Apache & Nginx 1) add the following code in the file “sudo nano /etc/nginx/sites-enabled/default” location ~ \.php$ { include snippets/fastcgi-php.conf; fastcgi_pass unix:/run/php/php7.1-fpm.sock; } location ~ /\.ht { deny all; } 2) And also change the port as per your need server { listen 8080 default_server; listen [::]:8080Read More →

Install Postman sudo apt update sudo apt upgrade wget https://dl.pstmn.io/download/latest/linux64 -O postman.tar.gz sudo tar -xzf postman.tar.gz -C /opt sudo ln -s /opt/Postman/Postman /usr/bin/postman

Manual Method: Open sql.lib.php file nano /usr/share/phpmyadmin/libraries/sql.lib.php Find for count($analyzed_sql_results[‘select_expr’] code on file. You can get this at line ~613. You can see this below wrong code || (count($analyzed_sql_results[‘select_expr’] == 1) Just replace that wrong code with this below one || ((count($analyzed_sql_results[‘select_expr’]) == 1) Save the file and come toRead More →

// all Directories: go to file location Ex. cd  /var/www/project folder path (then run this command) find . -type d -exec chmod 755 {} \; //All Files: find . -type f -exec chmod 644 {} \; And Enable Mod_rewrite mode How to enable mod_rewrite for Apache 2.2 order to useRead More →

 Install Composer sudo apt-get update sudo apt-get install curl php5-cli git curl -sS https://getcomposer.org/installer | sudo php — –install-dir=/usr/local/bin –filename=composer Then test Composer sudo composer  sudo apt-add-repository ppa:ondrej/php Update PHP sudo apt-add-repository ppa:ondrej/php sudo apt-get update sudo apt-get install php7.0 // all Directories: Ex. /var/www/project folder path find . -typeRead More →

How to set Screen resolution Press Alt+Ctrl+t xrandr sudo cvt 1360 768 60 sudo xrandr –newmode “1360x768_60.00” 84.75 1360 1432 1568 1776 768 771 781 798 -hsync +vsync sudo xrandr –addmode VGA1 1360x768_60.00

PHPMyAdmin does not work showing script sudo apt update sudo apt upgrade sudo apt-get install libapache2-mod-php sudo apt-get install yourphpversion-mbstring sudo apt-get install yourphpversion-mysqli

Nodejs sudo apt update sudo apt upgrade sudo apt-get install curl python-software-properties  curl -sL https://deb.nodesource.com/setup_10.x | sudo -E bash – sudo apt-get install -y nodejs sudo apt-get install build-essential Then Add port sudo nano /etc/apache2/ports.conf ## If you just change the port or add more ports here, you will likelyRead More →