Home>Article>Backend Development> PHP Detailed explanation of the most complete basic command to obtain server operating system information
The most recent 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, etc. There are many, now I have summarized some and share them with you for your reference. The details are as follows:
PHP version:
MYSQLSupport:
MySQL databaseContinuous connections:
Maximum number of MySQL connections:
Server operating system:
Server-side information:
MaximumUploadLimitations:
ZEND version:
Maximum execution time:
Maximum memory occupied by script running:
QueryThe version of the currently connected MYSQL database php comes withFunction
mysql_get_server_info();
Get the MYSQL database of the service
date_default_timezone_set (PRC);echo date("Y-m-d G:i:s");
Version php comes with the function mysql_get_server_info()
Get the server system time
date_default_timezone_set (PRC);echo date("Y-m-d G:i:s");
The above is the detailed content of PHP Detailed explanation of the most complete basic command to obtain server operating system information. For more information, please follow other related articles on the PHP Chinese website!