LiteSpeed Technologies
Download Download     Blog Blog     Wiki Wiki     Forum Forum     Store     Contact Contact    

Go Back   LiteSpeed Support Forums > External Applications > PHP > Changing "upload_max_filesize" in php.ini has no effect

Reply
 
Thread Tools Display Modes
  #1  
Old 01-02-2008, 03:05 PM
travisbell travisbell is offline
Senior Member
 
Join Date: Jan 2007
Location: Calgary, Canada
Posts: 51
Default Changing "upload_max_filesize" in php.ini has no effect

Hey guys,

Any idea why when I change the "upload_max_filesize" variable in my php.ini it has no effect on a PHP vhost?

**Edit, actually, same goes for the "upload_tmp_dir" variable. No matter what I change these to, they are not reflected in my php info script.

I am editing /opt/lsws/conf/php.ini

Cheers,
__________________
Travis Bell
Meticulo

Last edited by travisbell; 01-02-2008 at 03:10 PM..
Reply With Quote
  #2  
Old 01-02-2008, 03:15 PM
mistwang mistwang is offline
LiteSpeed Staff
 
Join Date: May 2003
Location: New Jersey
Posts: 7,583
Please check the file path of php.ini listed in the phpinfo() page, make sure the correct php.ini file has been used.

If you run php in suEXEC mode, the PHP process may not have permission to read /opt/lsws/conf/php.ini, put php.ini somewhere else like /opt/lsws/php/php.ini
Reply With Quote
  #3  
Old 01-02-2008, 03:29 PM
travisbell travisbell is offline
Senior Member
 
Join Date: Jan 2007
Location: Calgary, Canada
Posts: 51
Yup, that did it.

Next up, I am using Wordpress and I have noticed files over ~500KB just don't want to upload.

You think this is a LS/PHP problem, or WordPress? Basically, just wondering if you have ever seen something like this before.

Cheers,
__________________
Travis Bell
Meticulo
Reply With Quote
  #4  
Old 01-03-2008, 01:27 AM
ts77 ts77 is offline
Senior Member
 
Join Date: Nov 2004
Posts: 288
http://www.litespeedtech.com/support...=8032#post8032
Reply With Quote
Reply

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 On
HTML code is Off

Forum Jump


All times are GMT -7. The time now is 02:51 PM.



- Archive - Top
© Copyright 2003-2011 LiteSpeed Technologies, Inc. All rights reserved. Privacy Policy.