Score:0

Apache sometimes showing php codes except executing it

bj flag

I'm seeing something suspicious in my apache2 access.log. The main page of my PHP website when I open it the normal way, the size of it in the logs is about 10kbytes. but I'm seeing in the logs that a few times it has returned 25kbytes of data which is my PHP file size. I'm now worried that maybe it's showing the code to some of my users. how can I get this fixed? My server was under a DDoS attack yesterday, does putting a big pressure on the server cause the webserver to show the codes except for executing it? Ubuntu 20.04 Apache 2.4.41 PHP 7.4.3

mangohost

Post an answer

Most people don’t grasp that asking a lot of questions unlocks learning and improves interpersonal bonding. In Alison’s studies, for example, though people could accurately recall how many questions had been asked in their conversations, they didn’t intuit the link between questions and liking. Across four studies, in which participants were engaged in conversations themselves or read transcripts of others’ conversations, people tended not to realize that question asking would influence—or had influenced—the level of amity between the conversationalists.