Webmaster Forum  

Go Back   Webmaster Forum > Marketing, SEO and Development > Programming
User Name
Password
Register FAQ Members List Calendar Transactions Store Search Today's Posts Mark Forums Read


upload_max_filesize being ignored in php.ini

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-16-2008, 02:04
lihen
Senior Member


Join Date: Apr 2008
Posts: 160
Trader Rating: (0)
Points: 14 (Donate)
5 F$/Referral Refer Friends
lihen is on a distinguished road
Default upload_max_filesize being ignored in php.ini

Although I replied to an older thread, I thought I'd start a separate thread.

I have a custom php.ini file that I am using to reset some variables. I am using PHP 5.2.5 currently. I am trying to change "upload_max_filesize", "max_execution_time" and some others, however these are the only two that WILL NOT change.

I have tried reverting to PHP 5.1, still WILL NOT change.

Last, I tried reverting to PHP 5.0, and like magic, they all appropriately apply. However, I can't use 5.0, because I am using some newer PHP functions.

Is this a siteground issue? or a PHP 5.2.5 issue? What's up? I need to edit these variable under PHP 5.2 if possible.
lihen is offline
Reply With Quote
  #2  
Old 06-07-2008, 12:22
nikon
Junior Member


Join Date: Jun 2008
Posts: 16
Trader Rating: (0)
Points: 0 (Donate)
5 F$/Referral Refer Friends
nikon is on a distinguished road
Default

You can set it at run time too
PHP Code:
<?php
ini_set
('post_max_size','9M')
?>
now post_max_size variable is 9 MB set. THis is for run time only
nikon is offline
Reply With Quote
  #3  
Old 07-10-2008, 20:42
pixel876
Junior Member

pixel876's Avatar

Join Date: Jul 2008
Posts: 17
Trader Rating: (0)
Points: 14 (Donate)
5 F$/Referral Refer Friends
pixel876 is on a distinguished road
Default

This is a restriction that siteground.com implemented. They have 24 MB file upload limit and there is no way around this.
pixel876 is offline
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
how come changing php.ini has no effect? artcoder Site & Server Administration 6 05-24-2008 13:48

Resources : | Advertise at FHF | itextLink.com| Reseller Hosting| TextDot| iNamePros| Any Webmaster| Web Host| Dep3| cheap low cost web hosting reviews|


All times are GMT -4. The time now is 02:31.


Powered by: vBulletin
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.