Using PHP directives in custom .htaccess files
These articles explain how to set various PHP directives in an .htaccess file. For example, you can control error logging, specify time zone information, and more. Please note that these articles only apply to managed VPS or Dedicated Server accounts.
- Setting the PHP script memory limit in an .htaccess file
- Setting the max_input_vars directive in .htaccess
- Setting the PHP maximum upload file size in an .htaccess file
- Setting the output_buffering directive in an .htaccess file
- Setting the PHP maximum execution time in .htaccess
- Enabling and disabling PHP error logging using an .htaccess file
- Setting the PHP register_globals directive in an .htaccess file
- Setting the PHP time zone in an .htaccess file
- Setting the PHP magic quotes directive in an .htaccess file
- Enabling and disabling PHP error messages in .htaccess
- Setting the allow_url_fopen PHP directive
Updated 9 days ago