The most in-project background development involves displaying some basic information about the operating system where the current server is located. This includes: PHP version, server operating system, and so on. More, now summed up some, share to everyone for your reference, specifically as follows:
PHP Version:
<? PHP echo php_version;?>
MySQL Support:
<?php Echo function_exists (mysql_close)? " Yes ":" No ";?>
MySQL Database Persistent connection:
<?phpecho @get_cfg_var ("Mysql.allow_persistent")? " Yes: "No";? >
MySQL Maximum number of connections:
<?phpecho @get_cfg_var ("Mysql.max_links") ==-1? "Unlimited": @get_cfg_var ("mysql.max_links");? >
Server operating system:
<? PHP echo php_os;?>
Server-side information:
<? PHP echo $_server [' server_software '];?>
Maximum upload limit:
<? Phpecho Get_cfg_var ("Upload_max_filesize")? Get_cfg_var ("Upload_max_filesize"): "Upload attachments not allowed";? >
Zend Version:
<? PHP echo zend_version ();?>
Maximum execution time:
<? PHP Echo Get_cfg_var ("Max_execution_time"). " Seconds ";?>
Script run consumes maximum memory:
<? Phpecho Get_cfg_var ("Memory_limit")? Get_cfg_var ("Memory_limit"): "None"?>
Query the version of the currently connected MySQL database PHP self-bring function
Mysql_get_server_info ();
Access to services
Date_default_timezone_set (PRC), echo date ("y-m-d g:i:s");
Version of MySQL database PHP comes with function mysql_get_server_info ()
Get Server System time
date_default_timezone_set (PRC); Echo Date ("y-m-d g:i:s");