lighttdp.conf will be overwritten on Pi-hole updates.
What's your lighttpd version?
lighttpd -v
If that returns 1.4.46 or above, you should be able to overwrite the port from Pi-hole's lighttpd.conf in your external.conf like this:
server.port := 8888
Note that the := operator isn't supported in older versions of lighttpd.