I am building a Probe for Faveo helpdesk which is an open source ticket system to manage customer support in real time and is developed using laravel framework for PHP.
The aim of the probe is to check minimum server requirements which are required to install and run Faveo on the server. To run Faveo the redirection module(eg. 'mod_rewrite' in Apache server) for URL's must be enabled on server. I have to check is this module is enabled or not on different servers like Nigix, Apache and IIS.
Currently I am able to check 'mod_rewrite' on Apache server which uses Apache handler using php function "apache_get_modules". But this is not working on the servers which uses handles other than Apache handler to run php (for example CGI/FCGI/suPHP).
Can anyone tell me how can I check the 'mod_rewrite' module of the server irrespective of the handler they use to run PHP? Also how can I check the same on different servers like NIGIX and IIS?