Checking php.ini Settings for VH
The php.ini settings can be checked
using the phpinfo function:
<?php
phpinfo();
?>
This function outputs the entire PHP configuration,
including php.ini.
You can use the page search to find
the value of the required setting,
for example, memory_limit.
In the result output by phpinfo,
for each setting, there are
two values: Master Value - which applies to the entire site,
and Local value - which applies to this specific file
inside which the phpinfo function is called.
Study what value
the memory_limit setting has
on your local machine and on your hosting.
Study what value
the max_execution_time setting has
on your local machine and on your hosting.
Study what value
the post_max_size setting has
on your local machine and on your hosting.
Study what value
the upload_max_filesize setting has
on your local machine and on your hosting.