Answers for "php exec show error"

PHP
2

update composer ubuntu

##update composer in ubuntu
#update packages
sudo apt-get update
#if you don't have curl install it
sudo apt-get install curl
#download installer
sudo curl -s https://getcomposer.org/installer | php
#move composer.phar file
sudo mv composer.phar /usr/local/bin/composer
#check composer version
composer -v
Posted by: Guest on December-18-2020
1

ubuntu install composer

php -r "copy('https://getcomposer.org/installer', 'composer-setup.php');"
Posted by: Guest on June-10-2020
3

php show error

error_reporting(E_ALL);
ini_set('display_errors', 1);
Posted by: Guest on August-07-2020

Browse Popular Code Answers by Language