php.ini directives

php.ini directives

Categories:

These are some of the directive you can use to have your website work a bit better in terms of uploading files and showing really long pages like modules page and blocks page in the admin section of drupal.

Create a php.ini file in your site's root folder and copy and paste this code into it.

register_globals = Off
memory_limit = 40M

post_max_size = 100M
upload_max_filesize = 100M
max_execution_time = 1000
max_input_time = 1000

You can also check this link for more good info on how to fix server memory problems.
http://drupal.org/node/76156

Post new comment

The content of this field is kept private and will not be shown publicly.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
  • You may post code using <code>...</code> (generic) or <?php ... ?> (highlighted PHP) tags.

More information about formatting options

CAPTCHA
This question is for testing whether you are a human visitor and to prevent automated spam submissions.
2 + 1 =
Solve this simple math problem and enter the result. E.g. for 1+3, enter 4.