Added tuning configuration for alternative webservers (Nginx)
Line 40:
Line 40:
== If you want to make step by step debugging or tunning (XDebug) ==
== If you want to make step by step debugging or tunning (XDebug) ==
−
* To add global tuning information, from dolibarr 3.8, for pages on your browser javascript console log, add environment variable MAIN_SHOW_TUNING_INFO to 1 into Apache. For this, just add the following line into your apache.conf:
+
* To add global tuning information, from dolibarr 3.8, for pages on your browser javascript console log, add environment variable MAIN_SHOW_TUNING_INFO to 1 on your webserver.
+
For Apache, just add the following line into your apache.conf:
<source lang="ini">
<source lang="ini">
SetEnv MAIN_SHOW_TUNING_INFO 1
SetEnv MAIN_SHOW_TUNING_INFO 1
</source>
</source>
+
For Nginx, add the following line to your php location:
+
<source lang="ini">
+
fastcgi_param MAIN_SHOW_TUNING_INFO true;
+
</source>
+
The variable name is DOL_TUNING for versions of Dolibarr < 3.8.