Change the php.ini globally in your linux server

Sometimes you may need to change a variable globally. For this, you could simply connect through SSH to your server

ssh root@myserverip

and open the file php.ini located in /usr/loca/lib with the following command

nano /usr/local/lib/php.ini