- 
    Problem report 
- 
    Resolution: Won't fix
- 
    Trivial 
- 
    None
- 
    5.0.20, 5.4.10
- 
    PHP 7.4 and nginx on Ubuntu 20.04 LTS.
 Zabbix version & NGINX config: https://pastebin.com/2N21n88E
 Same issue occurs with 5.0 LTS version.
- 
        Sprint 85 (Feb 2022), Sprint 86 (Mar 2022), Sprint 87 (Apr 2022)
- 
        0.5
Steps to reproduce:
- Install Zabbix following the official guide (Download and install Zabbix 5.4 for Ubuntu 20.04 (Focal), MySQL, NGINX)
	- Note: I moved the nginx config to /etc/nginx/sites-available and symlink-ed it to /etc/nginx/sites-enabled
- I also setup SSL and added a PHP option to increase max upload size.
- You can find the nginx config [here|{_}{_}https://pastebin.com/2N21n88E]
 
- Go to Database Type page
- Observe
Result:
see attachment (r198zJ.png)
Expected:
The database dropdown should be populated with options.
Notes:
Same issue happened when I tried to deploy the docker version of zabbix. 
It looks like new Template is being called before template gets defined. 




