NginxManager/test.php

6 lines
167 B
PHP
Raw Normal View History

2025-08-04 17:11:47 +08:00
<?php
echo '<pre>';
echo shell_exec('whoami');
echo shell_exec('C:\nginx\nginx.exe -t 2>&1');
echo shell_exec('C:\nginx\nginx.exe -s reload 2>&1');
echo '</pre>';