Hello,
I am trying to add Apache Status page plugin as Apache status on WHM. I have tried to add example plugin and modify it.
I have installed:
http://www.directadmin.com/hello_world.tar.gz
After that i tried to modify the index.html under the path:
/usr/local/directadmin/plugins/hello_world/admin/
I modified the index.html as:
#!/usr/local/bin/php
Hello World!<br>
This script is a <b>Admin</b> Script being run as <?=getenv('USERNAME')?><br>
<textarea rows=30 cols=85><?=shell_exec('apachectl fullstatus'); ?></textarea>
But blank page appeared. Could you help me to fix this issue please?
Thanks,
Melih
I am trying to add Apache Status page plugin as Apache status on WHM. I have tried to add example plugin and modify it.
I have installed:
http://www.directadmin.com/hello_world.tar.gz
After that i tried to modify the index.html under the path:
/usr/local/directadmin/plugins/hello_world/admin/
I modified the index.html as:
#!/usr/local/bin/php
Hello World!<br>
This script is a <b>Admin</b> Script being run as <?=getenv('USERNAME')?><br>
<textarea rows=30 cols=85><?=shell_exec('apachectl fullstatus'); ?></textarea>
But blank page appeared. Could you help me to fix this issue please?
Thanks,
Melih