Trichoderma asperellum strain 6S-2 with biocontrol effects and potential growth-promoting properties was made into a fungal fertilizer for the prevention of apple replant disease (ARD). 6S-2 fertilizer not only promoted the growth of Malus hupehensis Rehd seedlings in greenhouse and pot experiments, but also increased the branch elongation growth of young apple trees. The soil microbial community structure changed significantly after the application of 6S-2 fertilizer: the relative abundance of Trichoderma increased significantly, the relative abundance of Fusarium (especially the gene copy numbers of four Fusarium species) and Cryptococcus decreased, and the relative abundance of Bacillus and Streptomyces increased. The bacteria/fungi and soil enzyme activities increased significantly after the application of 6S-2 fertilizer. The relative contents of alkenes, ethyl ethers, and citrullines increased in root exudates of M. hupehensis Rehd treated with 6S-2 fertilizer and were positively correlated with the abundance of Trichoderma. The relative contents of aldehydes, nitriles, and naphthalenes decreased, and they were positively correlated with the relative abundance of Fusarium. In addition, levels of ammonium nitrogen (NH4-N), nitrate nitrogen (NO3-N), available phosphorus (AP), available potassium (AK), organic matter (SOM), and pH in rhizosphere soil were also significantly related to changes in the microbial community structure. In summary, the application of 6S-2 fertilizer was effective in alleviating some aspects of ARD by promoting plant growth and optimizing the soil microbial community structure.