Kudose wrote:How can mod_rewrite be working but not shown in phpinfo?
Because mod_rewrite has absolutely nothing to do with PHP.
Kudose wrote:I have a script that needs mod_rewrite enabled if the server is running PHP as a CGI module
"CGI module" is a mixture of two separate method of installing ([/i]ISAPI module/filter[/i], or CGI binary).
If you are using the ISAPI module/filter method, you can use the function [man]apache_get_modules/man. If you're using the CGI binary... well, then you simply can't do anything (other than parsing the server's .conf file as mentioned above).