Delete multiple php.ini files
-
Wordfence has been warning me about unknown files in WordPress core for a while now. These are multiple php.ini files located in various locations (eg. public_html/wp-admin/css/php.ini), and they appear to have been placed there by my previous host, IONOS.
I have moved to a different host and want to try and delete all those files but Wordfence only shows one file at a time. There are 200 files in total which means I have to run a scan 200 times to delete each file. Is there a way to delete all the files at once?
Otherwise, the solution I’ve come up with is to manually delete all php.ini in cPanel file manager, except for /public_html/wp-admin/php.ini which I believe is the only one I need?
The topic ‘Delete multiple php.ini files’ is closed to new replies.