.htaccess and .user.ini
917 BThis zip file includes standard .htaccess file for WordPress with php version that you can modify. And .user.ini file to update PHP settings such as PHP memory.
You can remove the WordPress related code to use .htaccess file on Linux platforms.
Do make sure these files permissions not set higher than 644 to protect your site from hackers.