All posts tagged php.ini

How do I know where php.ini is located?

If you need to make modifications to php.ini in your VPS, there are a couple of ways you can find out where it is located: In the command line, run the following command: php -i | grep php.ini The following line will be displayed, containing the path of the php.ini . . . Read more

How do I access php.ini?

The php.ini files are not available to shared hosting users, however, you can overwrite any of the directives using the .htaccess file. Directions to change PHP configuration directives by using Apache’s .htaccess files: Reditect generator:

How do I increase the Max upload size in php.ini

To increase the Max upload size for your php applications add this to your .htaccess file:

NOTE: 25 M is 25 megabytes and 800 is 800 seconds.