I am running into problems changing upload_max_filesize on a Debian Squeeze Ispconfig3 installation (which works like a charm btw :).
Normally this should be a rather trivial task, but as it turns out it is not:
I am running a website under FastCGI with SuExec.
In /etc/php5/cgi/php.ini I changed:
upload_max_filesize = 20M
memory_limit = 129M
(i made these changes to all php.ini's (mod_apache,cgi,cli) as well to make sure).
Nevertheless Apache remains unimpressed by my changes, all values still remain default (upload_max_filesize 2M, memory_limit 128M). # apache2ctl restart makes no difference.
Interestingly, however AllowOverride All is set properly, I cannot even override the values with ini_set(...) neither.
Now I am really running out of ideas. Has anybody any idea where I am missing the point?
Any idea/help is very appreciated!
did you restart apache if not then try that
i know with ubuntu there are 3 locations, and ubuntu is a spin off of Debian Squeeze so maybe its the same check the following and see all should be set the same
Yes kwickcut, I did restart the apache. no effect. And I changed the value in all three php.ini's. No effect either.
But meanwhile I found other workarounds. They do not work on global scope but that's better than no scope at all :)
#1: pimping the starter script (in this case /home/www/php-fcgi-scripts/web2/.php-fcgi-starter ) so that it reads (mind the last line before $1)
#2: using .user.ini
by creating a file .user.ini in the web/ folder (should be found automatically) which contains
You have set some custom php.ini values in the php.ini field in ispconfig, so this website uses its own php.ini. The recommended solution for your problem is to add:
in the php.ini field in the website settings.
Altering the fcgi starter script will not last long as your changes will get removed and adding a user ini file can be used but why adding a third config option when everything is available from within the ispconfig interface without editing any files :)
Hello Till, thanks for your help.
I tried this in the first place. But setting something in the php.ini field does surely work if you use apache_mod.
But with FastCGI it seems there is no effect (at least in my installation).
|All times are GMT +2. The time now is 04:56.|
Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2013, vBulletin Solutions, Inc.