配置
This commit is contained in:
12
public/__diag_php.php
Normal file
12
public/__diag_php.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php
|
||||
|
||||
header('Content-Type: application/json; charset=utf-8');
|
||||
|
||||
echo json_encode([
|
||||
'php_version' => PHP_VERSION,
|
||||
'loaded_ini' => php_ini_loaded_file(),
|
||||
'extension_dir' => ini_get('extension_dir'),
|
||||
'mbstring_loaded' => extension_loaded('mbstring'),
|
||||
'mb_split_exists' => function_exists('mb_split'),
|
||||
], JSON_UNESCAPED_UNICODE | JSON_PRETTY_PRINT);
|
||||
|
||||
Reference in New Issue
Block a user