Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: rdtaylor on October 02, 2006, 12:14:44 AM
-
Hi!
If I wish to change parameters affecting PHP, what is the right way to go about doing this?
Do you modify the PHP instance itself (using config setprop), or do you modify the per-ibay directives (using db accounts)?
If you modify both, which takes precedence?
cheers
Rob
-
Does anyone have an answer for this?
I am running sugarCRM in an ibay, and certain functions (particularly applying patches) is failing.
I suspect that some PHP params are not set high enough (such as
MaxExecutionTime
MaxInputTime
MemoryLimit
PostMaxSize
UploadMaxFilesize
)
Should I be setting these param globally for the PHP instance, or specifically for each ibay?
If I need to set them for each ibay, how do I go about doing it? ie. where do I find out what paramater names to use etc.?
cheers
Rob
-
From my working notes:
[php configuration]----------------------------------
config setprop php MemoryLimit nnnn
config setprop php PostMaxSize mmmm
config setprop php UploadMaxFilesize pppp
expand-template /etc/php.ini
/etc/rc7.d/S86httpd-e-smith restart
where I have used:
nnnn = 100M
mmmm = 50M
pppp = 30M
-
Thanks for the reply, but that's not really what I was asking...
I know already how to modify params globally (ie. affecting php.ini), but I want to know how I set these on a per ibay basis (or even if that possible / correct)...
cheers
Rob