Add temporary PHP config check script
This commit is contained in:
parent
32c2cc1381
commit
8f3fc62b19
1 changed files with 12 additions and 0 deletions
12
phpcheck.php
Normal file
12
phpcheck.php
Normal file
|
|
@ -0,0 +1,12 @@
|
||||||
|
<?php
|
||||||
|
// Temporary diagnostic - delete after checking
|
||||||
|
header('Content-Type: application/json');
|
||||||
|
echo json_encode([
|
||||||
|
'upload_max_filesize' => ini_get('upload_max_filesize'),
|
||||||
|
'post_max_size' => ini_get('post_max_size'),
|
||||||
|
'memory_limit' => ini_get('memory_limit'),
|
||||||
|
'max_execution_time' => ini_get('max_execution_time'),
|
||||||
|
'php_version' => phpversion(),
|
||||||
|
'server' => gethostname(),
|
||||||
|
'timestamp' => date('c')
|
||||||
|
]);
|
||||||
Loading…
Add table
Reference in a new issue