WHY WORDPRESS ASKS FOR FTP CONNECTION INFO?
Whenever you use the WordPress admin panel to install, upgrade, or delete plugins, WordPress must make changes to files on their filesystem.Before making any changes, WordPress first checks to see whether or not it has access to directly manipulate the file system. If WordPress does not have the necessary permissions to modify the filesystem directly, you will be asked for FTP credentials so that WordPress can try to do what it needs to via FTP. HOW TO RESOLVE IT? In order to fix this issue, you will need to make sure that the scripts which need to write to the filesystem are owned by the same user that apache is running as. WordPress asks for your FTP credentials when it can't access the files directly. This isusually caused by PHP running…

