Search
 
SCRIPT & CODE EXAMPLE
 

PHP

debian php switch version


// Apache:
sudo a2dismod php5.6 php7.1 php7.0   ## Shows error for modules not installed 
sudo a2enmod php7.4
sudo service apache2 restart

// In case of issues disabling some modules use the following syntax
sudo a2dismod mpm_prefork
//--------------------------------------------------------------

// Command Line:
sudo update-alternatives --set php /usr/bin/php7.4
sudo update-alternatives --set phar /usr/bin/phar7.4
sudo update-alternatives --set phar.phar /usr/bin/phar.phar7.4
sudo update-alternatives --set phpize /usr/bin/phpize7.4
sudo update-alternatives --set php-config /usr/bin/php-config7.4
Comment

PREVIOUS NEXT
Code Example
Php :: laravel file permissions 
Php :: php get first word of string 
Php :: upload file in php 
Php :: php laravel intervention base64 to image save 
Php :: laravel/ui for laravel 7 
Php :: bigtext migration laravel 
Php :: laravel map array 
Php :: use js in php 
Php :: laravel delete 
Php :: laravel username validation 
Php :: retirrar ultimo caracter php 
Php :: javascript inside php 
Php :: migrate particular file laravel 
Php :: store emoji in php 
Php :: how to set cookie expire time in php 
Php :: current user wordpress 
Php :: symfony migrate fresh 
Php :: php regular expressions 
Php :: laravel log build custom channel 
Php :: query php 
Php :: php 8 constructor promotion 
Php :: get database columns laravel 
Php :: ajax post json data handle in php 
Php :: check if elquent retrun empty array laravel 
Php :: sha256 encryption in php 
Php :: laravel observer events 
Php :: how to save the variable from query in mysql with php 
Php :: multiple logical condition in laravel query 
Php :: larave Soft Deletes 
Php :: Add ... if string is too long PHP 
ADD CONTENT
Topic
Content
Source link
Name
5+3 =