Error 500 php_value .htaccess

I noticed on some server setups I could not do the following inside a .htacess file:

php_value upload_max_filesize 250M
php_value post_max_size 250M

I was getting an error 500 Internal Server Error with the above code in the .htaccess file.

What to do to correct this is create a file called php.ini and save it in the same location as your .htaccess file and enter the following code instead:

upload_max_filesize = “250M”
post_max_size = “250M”

Share This Article

Related Posts

Comments

  1. Olivier Lemire June 15, 2011

    Oh yea ! Thank you very much I didn’t think of that.

Trackbacks

There are no trackbacks on this entry.

Add a Comment

Required

Required

Optional

Latest Domains

1. pr-gb.com
(0 minutes ago)
2. boobsmodels.com
(0 minutes ago)
3. onestopphoneshop.co.uk
(0 minutes ago)
4. denabank.com
(0 minutes ago)
5. toonxtc.com
(0 minutes ago)
6. bay12games.com
(0 minutes ago)
7. guiadacidade.pt
(1 minute ago)
8. joy2day.com
(1 minute ago)
9. adultgirldirectory.com
(1 minute ago)
10. aralbalkan.com
(1 minute ago)

Services

PHP MySQL Apache Flash Air Java C++ Python