How to keep the Apache installed in Windows in memory without access for a long time?

A question asked earlier was answered by someone who said that the Apache was transferred to the hard disk or something because it had not been accessed for a long time. This: Link description . The first method he gave seems to need to change the Apache code. The second one I feel too awkward, I feel that it may lead to a lot of unexpected things, such as quite unusual traffic. Does Apache have any relevant configuration about this? Besides, does this have anything to do with PHP and MySQL?

Apr.03,2021
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b3bb9a-2c2ad.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b3bb9a-2c2ad.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?