Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > Installation/Configuration

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 2nd December 2007, 13:52
mbria mbria is offline
Junior Member
 
Join Date: Jul 2007
Posts: 17
Thanks: 12
Thanked 2 Times in 2 Posts
Default Ignored phpvalues at .htaccess, ISPconfig or PHP

Hi all,

One of my new sites requires some special tunning of php_values, but never mind where I set them, it didn't work.

My server is:
- ubuntu 7.04 (following perfect setup)
- suPHP (following suPHP howto)
- ISPconfig 2.2.16

My goal is setting those variables as follows, just in one site:

* post_max_size=100M
* upload_max_filesize=100M
* max_execution_time=1000
* max_input_time=1000

I tried at ISPconfig setting "Apache Directives" to:

PHP Code:
...
<
Directory /var/www/web3/web>  
Options +Includes +FollowSymlinks -Indexes  
AllowOverride All  
Order allow
,deny  
Allow from all
php_value post_max_size 500
<Files "^\.ht">  
Deny from all  
</Files>  
</
Directory>
... 
And also at it's own .htaccess with multiple variants:

PHP Code:
#php_value post_max_size "100M"
#php_value upload_max_filesize "100M"
#php_value max_execution_time "1000"
#php_value max_input_time "1000"
<IfModule mod_php5.c>
php_flag post_max_size 50
php_value post_max_size 50
</IfModule
Finally I tried directly at the CMS (it's a Drupal) config file... where other variables are set:

PHP Code:
ini_set('post_max_size',            '100M');
ini_set('upload_max_filesize',     '100M');
ini_set('max_execution_time',    '1000');
ini_set('max_input_time',           '1000'); 
As said, non of those solutions work.

Any clue about how to fix this?

Thanks a lot for your self,

m.
Reply With Quote
Sponsored Links
 

Bookmarks

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

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 2.3.2-dev released till General 9 4th June 2007 10:46
ERROR: The PHP binary coming with ISPConfig does not work properly on your system! qvindesland Installation/Configuration 22 21st May 2007 16:05
ISPConfig and .htaccess ionut89 Feature Requests 1 17th October 2006 17:45
VirtualHosts marra87 General 9 12th September 2006 04:09
2 domains, 1 site wadims Installation/Configuration 13 31st May 2006 00:21


All times are GMT +2. The time now is 04:32.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.