Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!


  Search this Thread
Old 02-13-2007, 12:07 PM   #1
Registered: Nov 2005
Location: India
Distribution: Slackware
Posts: 51

Rep: Reputation: 15
Question php_value upload_max_filesize 10M

Hi there

I used the configuration directives

php_value upload_max_filesize 10M
php_value memory_limit 10M
php_value post_max_size 10M

in my .htaccess file on a shared server.

But I got a 500 server error. It gives the same error even if I use any 1 or 2 of the above directives.

What gives. Please help out

Old 02-13-2007, 08:12 PM   #2
Registered: Jan 2006
Location: Vancouver BC
Distribution: LFS, SLak, Gentoo, Debian
Posts: 291

Rep: Reputation: 36
Simple, you cannot change php configuration in apache .htaccess file, it has to be changed in the php.ini
shared webserver, most likely a hosting service, you would have to ask them to allow your site scripts to have a file upload size of 10 MB.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
10/100 Network running at 10m lucktsm Linux - Networking 3 09-26-2006 01:53 PM
problem with upload_max_filesize directive tooparam Linux - Software 0 01-16-2006 07:43 AM
wget re-downloads all files grater than 10M gintaras46 Linux - General 3 12-24-2005 09:05 AM
php_value in .htaccess tunedLow Linux - Software 0 06-01-2004 08:25 PM
linux connect through phonline 10m network xS373Nx Linux - Newbie 4 04-11-2004 12:23 AM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:45 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration