Answers for "how to not show error in php"

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
3

php show error

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

show display error php

//PHP functions - add the lines in the above of page

ini_set('display_errors', 1);
ini_set('display_startup_errors', 0);
error_reporting(E_ALL & ~E_NOTICE);
Posted by: Guest on May-25-2021

Browse Popular Code Answers by Language