| Server IP : 172.67.201.108 / Your IP : 216.73.216.11 Web Server : Apache/2.4.68 (Amazon Linux) OpenSSL/3.5.5 System : Linux ip-172-31-69-123.ec2.internal 6.1.176-223.369.amzn2023.x86_64 #1 SMP PREEMPT_DYNAMIC Fri Jul 24 13:34:27 UTC 2026 x86_64 User : ec2-user ( 1000) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /sbin/ |
Upload File : |
while [ "$answer" = "" ];
do
#answer=1
echo "1) Stop Apache"
echo "2) Start Apache"
echo "3) Edit Apache Conf"
echo "4) Tail PHP error log"
echo "5) Restart Apache"
echo "6) Restart Lucee";
echo "7) reset lucee logs";
echo "8) journal last hour";
echo "9) Mail queue summary";
/bin/echo -n "Please select an option below: "
read ans
if [ ! "$ans" = "" ]; then
answer=$ans
fi
done
case $answer in
1) service httpd stop;
;; 2) service httpd start;
;;
3) pico /etc/httpd/conf/httpd.conf;
;;
4) tail -100f /var/logs/php_errors.log
;;
5) service httpd restart;
;;
6) service lucee_ctl restart;
;;
7) /ourscripts/luceelogs.sh
;;
8) journalctl --since "1 hours ago"
;;
9) /ourscripts/pkc.pl
;;
esac