Please help me. How do I run PHP and JQuery to read it smoothly and encodes all?
jQuery is a client-side script. This means you can just include it in your HTML code.
An alternative to running apache is to tell PHP to run a webserver: Dynamic Status Page For Discord Bot Using Uptime Robot API