It must be running as CGI on my server then. That would explain why I get the error. The code KirbyDE posted above gave me just the version number of Apache and nothing else. That's all I needed as I already have the other info.
I tried the -r and this is what I got:
2.4.20-20.7smp
Does that look right to you? What does the smp stand for?
What is the exact code you used with this? apache_get_version();
|