This does not appear to be an osTicket related question.
Installing the APCU PHP extension depends on that OS that you are running.
I would recommend that you good it.
Also osTicket 1.12 is end of life and no longer supported. I would encourage you to upgrade to a contemporary version.