It is possible to edit the global php.ini file of your server until you have root access to your server.
At first, it is required to check the path to the active php.ini file for the PHP service. For this, just create an info.php file with the below content in it and access it via your browser:
<? phpinfo() ?>
This will display you the current configuration of your PHP service. Search for the “Loaded Configuration File” row and copy the path to the active php.ini file. Then open this file with your text editor and do the changes you want to it.
That’s it! You can now make changes to the global php.ini file of your dedicated server.
Also Read:
Modifying the PHP.INI file