I am having issues with an old php project that used AddHandler directive into .htaccess file.
It have the following line at start of the file:
AddHandler application/x-httpd-php70 .php
It seems to be a necessary line in production, but in my dev environment I cannot set up the handler properly for various reasons. It result in not accessing files and paths correctly in dev env.
There exists a way to check if the handler is available before adding it?
Something where semantics is like:
<IfHandler application/x-httpd-php70>
AddHandler application/x-httpd-php70 .php
</IfHandler>