/ Published in: PHP
                    
                                        Return just the Apache version number of your server, and operating system, from $_SERVER['SERVER_SOFTWARE']
Example:
print ('Apache Version: ' . apacheversion());
will return something along the lines of...
"Apache Version: 2.2.10 (Unix)"
                Example:
print ('Apache Version: ' . apacheversion());
will return something along the lines of...
"Apache Version: 2.2.10 (Unix)"
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
 function apacheversion() { $apver = "$ver[1] $ver[2]"; return $apver; }
Comments
                    Subscribe to comments
                
                