Current location: Hot Scripts Forums » Other Discussions » Web Servers » htaccess and mod_php


htaccess and mod_php

Reply
  #1 (permalink)  
Old 12-30-08, 11: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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
  #2 (permalink)  
Old 01-05-09, 03:48 PM
drowzee drowzee is offline
Newbie Coder
 
Join Date: Dec 2008
Posts: 15
Thanks: 0
Thanked 0 Times in 0 Posts
Have you set
Code:
AllowOverride Options
on your new host?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiShare on FacebookShare on Stumble UponShare on Twitter
Reply With Quote
Reply

Bookmarks


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

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
Trackbacks are On
Pingbacks are On
Refbacks are On

Forum Jump


All times are GMT -5. The time now is 12:53 PM.
vBulletin® Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.