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: http://www.php.net/manual/en/configuration.changes.php http://httpd.apache.org/docs/1.3/howto/htaccess.html Reditect generator: http://www.htaccessredirect.net/