Koozali.org: home of the SME Server
Obsolete Releases => SME Server 7.x => Topic started by: kryptos on January 26, 2010, 07:15:29 AM
-
hi,
How do I modify php.ini? I want to enable output_buffer. I tried checking this link http://wiki.contribs.org/DB_Variables_Configuration#Php (http://wiki.contribs.org/DB_Variables_Configuration#Php) but there no output_buffer variable on the list.
Regards,
Rocel
-
Yes, output_buffer is not mapped as variable. You can search what fragment file has output_buffer setting in /etc/e-smith/templates/etc/php and then copy the file to (make the folders if no exist) /etc/e-smith/templates-custom/etc/php. Then make you changes in that file (the file you have copied to templates-custom). Save, expand templates and restart httpd-e-smith service:
expand-template /etc/php.ini
service httpd-e-smith restart
Remember: custom templates are priority over system templates.
-
I have no experience with output_buffer, but this post say you can modify this value within your code:
http://forums.devshed.com/php-development-5/what-does-output-buffer-really-do-351211.html
-
Please, read the excellent wiki page made by Ray Mitchell about templates:
http://wiki.contribs.org/Template_Tutorial
-
Yes, output_buffer is not mapped as variable. You can search what fragment file has output_buffer setting in /etc/e-smith/templates/etc/php and then copy the file to (make the folders if no exist) /etc/e-smith/templates-custom/etc/php. Then make you changes in that file (the file you have copied to templates-custom). Save, expand templates and restart httpd-e-smith service:
expand-template /etc/php.ini
service httpd-e-smith restart
Remember: custom templates are priority over system templates.
Thanks for the heads up. Ill try search which fragment file it is.
I have no experience with output_buffer, but this post say you can modify this value within your code:
http://forums.devshed.com/php-development-5/what-does-output-buffer-really-do-351211.html
Hmmm.. We will try this one seems the solution to our problem. Thanks Normando!