How to check mod_rewrite is enabled in php?
You can easily find out in two ways whether rewrite_module configured in your server.
Login to your server through ssh and execute below command,
Another method is to check if mod_rewrite is enabled by PHP code,
Make a file and add the below code, it will be displaying configured apache modules on a page,
You will be getting an output: