Sometimes you need to check and increase your php variables but how to find currently php variables?
You can find the PHP configuration by placing a page with a phpinfo() function along with your website.
To create a phinfo site with this command, first change into the directory that contains your website files. For example, the default directory for webpage files for Apache on Ubuntu is /var/www/html/:
Then, create the info.php file:
$sudo nano info.php
Paste the following lines into this file and save it:
<!--?php phpinfo(); ?-->
Then, in your browser open: http://yoururl/info.php