2 filthio Mar 18, 2009 01:01

Tried it, does not appear to work. Know nothing about coding tho'
Maybe you hosting provider doen't support changes to php though .htaccess files. In that case, you should ask them for changes in your php.ini.
I'm with Godaddy. What should I ask for?
Sorry for the newbie Q
PS: I have made other changes to php.ini but they don't show/work
Some hosts don't much care for clients changing php default values. these values are normally kept in php.ini but can also be changed on a directory-by-directory basis by .htaccess
So you need to find out from Godaddy how you do this, or indeed if they will let you. They might want to do it for you, or they might tell you some other way to do it.
While you are at it, can you tell us your domain, and exactly where the .htaccess you are changing is kept? Possibly you are changing the wrong one.
THX, guys.
Sorry I did not come back to this earlier. As you may know, asking Godaddy for support is much like asking a camel to lay eggs. It's just not gonna happen ;)
Since this "problem" does not seem to affect site operation, I've decided to just let it lay...
My domain is http://blog.gerardprins.com and the .htaccess I was changing is located in the site root.
Again: thanks for your input.
All my websites hosted on Godaddy and I like the price, can't say anything about their support since I don't need it :)
Anyway, you should name your ini file depending on PHP version you're using: php.ini or php5.ini
Here's a copy of my php5.ini
ps you may not need that huge values if you don't play with large DBs
register_globals = off
allow_url_fopen = off
magic_quotes_gpc = off
cgi.fix_pathinfo = 1
memory_limit = 128M
post_max_size = 100M
file_uploads = On
upload_max_filesize = 90M
upload_tmp_dir = /tmp
expose_php = Off
max_execution_time = 1900
max_input_time = 1800
variables_order = "EGPCS"
extension_dir = ./
extension=mbstring.so
precision = 12
SMTP = relay-hosting.secureserver.net
url_rewriter.tags = "a=href,area=href,frame=src,input=src,form=,fieldset="
[Zend]
zend_optimizer.optimization_level=15
zend_extension_manager.optimizer=/usr/local/Zend/lib/Optimiz er-3.3.3
zend_extension_manager.optimizer_ts=/usr/local/Zend/lib/Opti mizer_TS-3.3.3
zend_extension=/usr/local/Zend/lib/ZendExtensionManager.so
zend_extension_ts=/usr/local/Zend/lib/ZendExtensionManager_T S.so
Hello! Is there a fix for this same problem in version 3.3.3? I've tried all these fixes stated for version 2.x but nothing seems to work. Any help will be appreciated. Thanks!
What problem are you talking about?
Trying to set the max post size larger than the max file upload size.
You should ask your hosting support about php.ini
The server might be configured to ignore user's php.ini files.
Just wanted to say thanks. Reading this post got my problems solved after about 30 minutes of tinkering.
Sam:
THX.
I just had to remove this line of code to solve this: cgi.fix_pathinfo = 1
You rock!
You can adjust these variables in your .htaccess file.
For example, if you want to make the post_max_size bigger, say 10Mb, add a line to .htaccess that reads: