.htaccess Error, While modifying php configuration

Posted by Starx on Stack Overflow See other posts from Stack Overflow or by Starx
Published on 2010-06-07T11:18:47Z Indexed on 2010/06/07 11:52 UTC
Read the original article Hit count: 291

Filed under:
|

If this is not posted in correct place, please migrate it

I kept a .htaccess file in my public_html folder inside the root. When I view the website it is giving server misconfiguration error.

my .htaccess file contains this only

php_value upload_max_filesize 100M
php_value post_max_size 100M

I wonder what may be wrong. Any Ideas

MY ERROR LOG

[Mon Jun 07 17:06:23 2010] [alert] [client 113.199.221.198] /home/wwwcomr/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration
[Mon Jun 07 17:04:46 2010] [alert] [client 113.199.221.198] /home/wwwcomr/public_html/.htaccess: Invalid command 'php_value', perhaps misspelled or defined by a module not included in the server configuration

© Stack Overflow or respective owner

Related posts about php

Related posts about .htaccess