View Single Post
  #1 (permalink)  
Old 12-30-08, 10:24 PM
lylesback2 lylesback2 is offline
Wannabe Coder
 
Join Date: Dec 2003
Posts: 119
Thanks: 0
Thanked 0 Times in 0 Posts
htaccess and mod_php

I recently moved hosts, and can't seem to find the answer on why things aren't working, but think I have a clue why. (such as uploads)

I use my .htaccess to modify the php.ini (shared host) with things like:
Code:
<IfModule mod_php4.c>
php_value upload_max_filesize 11M
php_value max_execution_time 800
php_value post_max_size 64M
</IfModule>
which always worked on the old server, but since going from PHP4 to PHP5 (even modifying the first line doesn't work
Code:
<IfModule mod_php5.c>
I noticed the upload_tmp_dir in my is set to "no value" the same thing that gave me problems in the past, but that was over 2 years ago.

I have tried:
Code:
ini_set('upload_tmp_dir', '/Storage/tmp/');
but to no success.

Anyone got any idea how I can modify my php.ini?
Reply With Quote