apache2.4和php7.2,启动时报错

报错信息:
[Fri Sep 25 13:37:54.375244 2020] [core:warn] [pid 4544:tid 656] AH00098: pid file D:/wamp/Apache24/logs/httpd.pid overwritten -- Unclean shutdown of previous Apache run?
PHP Warning: PHP Startup: bz2: Unable to initialize module\nModule compiled with module API=20170718\nPHP compiled with module API=20151012\nThese options need to match\n in Unknown on line 0
图片说明
php7.2中的配置文件和扩展的文件名不一样了?也加个php_试过,还是这样报错

apache的配置里需要加个php.ini的地址的配置

https://blog.csdn.net/a657941877/article/details/18357047