Having php and htaccess and user.ini errors

Please help us by providing the following info. Before posting please also check the pinned "Known issues" threads and make sure that you're running the latest available version for your oC release: https://owncloud.org/changelog/

Steps to reproduce
1.fresh install of owncloud
2.log into owncloud
3.errors at the top and cannot connect with the app

Expected behaviour
when i connect with the app it says SSL initialization failed

Actual behaviour
cant login with the app and errors at the top that say need fixed of the webpage

php does not seem to be setup properly to query system environment variables. The test with getenv("PATH") only returns an empty response.
Please check the installation documentation :arrow_upper_right: for php configuration notes and the php configuration of your server, especially when using php-fpm.
Some files have not passed the integrity check. Further information on how to resolve this issue can be found in our documentation. (List of invalid files… / Rescan…)
The "Strict-Transport-Security" HTTP header is not configured to at least "15552000" seconds. For enhanced security we recommend enabling HSTS as described in our security tips.
No memory cache has been configured. To enhance your performance please configure a memcache if available. Further information can be found in our documentation.
Please double check the installation guides :arrow_upper_right:, and check for any errors or warnings in the log.

Integrity status for oC9+

Technical information
=====================
The following list covers which files have failed the integrity check. Please read
the previous linked documentation to learn more about the errors and how to fix
them.
Results
=======
- core
	- INVALID_HASH
		- .htaccess
		- .user.ini
Raw output
==========
Array
(
    [core] => Array
        (
            [INVALID_HASH] => Array
                (
                    [.htaccess] => Array
                        (
                            [expected] => ab5f4c44ba2f9c66f2ed25c3ad3d84660b2808cca11ffa8fe2778a648a054d8ada495a0bf4715dc873aac1efe8dfd92a72f9a24441d8f5240834e639325fd892
                            [current] => f1c81e14b7e5d19e38c33390e445506e04d82321ea743212a9c8dd62b5321f8c7e5121fbccfd36c7a9f25ec5233fd01f064a3f19bb5a86d5a6a4d6207ed3cbe2
                        )
                    [.user.ini] => Array
                    (
                        [expected] => 0a557e3cdca4c2e3675deed761d79d109011dcdebbd9c7f6429f1d3476938ec95729543d7384651d1d0c48e26c5024cc5f517445920915a704ea748bdb903c5f
                        [current] => e8399257b0a2daec8af966a0c515a896653912e7f2da8b3199c445749430a3fab180307ba64a2b2913d147a40eebe0c898ae119292687ca6d683ec9535c0d25e
                    )

            )

    )
)

Hi,

have you followed the links in those messages to the documentation explaining the needed steps how to fix your environment? Whats unclear in this documentation and what additional info do you need?