LDAP authorization in 5.0.1

I install RT 5.0.1 in Ubuntu 20.04. Configured import from LDAP, it’s work. But I need fully authorization via LDAP, not username sync. Here says about Apache and PHP. How should it works?

This is the page you want to look at for setting up LDAP for auth:
https://docs.bestpractical.com/rt/5.0.1/RT/Authen/ExternalAuth/LDAP.html