# From PHP 7.1 => PHP 5.6
#Apache
sudo a2dismod php7.1
sudo a2enmod php5.6
sudo service apache2 restart
#command Line
sudo update-alternatives --set php /usr/bin/php5.6
Code Example |
---|
Php :: show error php in htaccess |
Php :: redirect http to https htaccess |
Php :: findorfail laravel |
Php :: get id user login laravel |
Php :: php loop |
Php :: refresh seeder laravel |
Php :: php parse float 2 decimal places |
Php :: php get type of object |
Php :: hex to dec php |
Php :: php loop through start and end date |
Php :: check email exist or not wordpress |
Php :: wordpress print all categories |
Php :: php select version ubuntu |
Php :: check if valid url php |
Php :: install php mysql extension ubuntu |
Php :: php referrer |
Php :: remove slashes php |
Php :: laravel scout import command |
Php :: migrate specific migration laravel |
Php :: php get ip to location |
Php :: orwherebetween laravel |
Php :: php array start with index 0 |
Php :: key of last element php |
Php :: php check if cli |
Php :: php get only numbers |
Php :: codeigniter dump query |
Php :: php mysqli connection check |
Php :: php console output |
Php :: php sha256 |
Php :: read key value json php |