Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.

Messages - KTCHost

Pages: 1
We can enable the private PHP error logging by using following code in the .htaccess file

Code: [Select]
# enable PHP error logging
php_flag log_errors on
php_value error_log /home/path/public_html/domain/PHP_errors.log

Note : The PHP_errors.log file needs to be permission 755 or 777.

If you have any questions, simple make a reply to this thread and will help you to resolve all queries.

KTCHost like to introduce continent based Dedicated server in affordable rates.
Reduce server response time and speed up your website using servers from your country continents

Enjoy Colors of Holi with KTCHost Special Offer

E3-1230 Server,
2x1TB HDD, 32GB RAM,
5 IPS in $99/m or Rs 5000/m.

In case of any questions or doubts, you can approach our Sales Department through 24*7 Live chat support available at or E-mail us at

We are glad to inform you that we have launched first School Management System HOSTING which is useful not only for Big Schools/Colleges but also Small Coaching classes,Playgroup / Nursery.

You can launch your own School/College Mobile App in GOOGLE Play store in affordable price , price starts from $3 or INR 100 per student for three years. Yes, its true pricing for THREE years. If you have any questions or queries, contact us on live chat support.

50% Discount on cPanel license with ALL Dedicated Servers

Why #KTCHost #Dedicated #server?

#Dedicated #Server with following Powerful Key features made #KTCHost best Dedicated server provider

* Powerful control Panel
* Cloudflare Support
* Let's Encrypt SSL Support
* Softaculous script installer
* R1Soft Remote Backup
* 24x7 Unlimited support instance
* 24x7 Server Monitoring

For more information, E-mail Us : | Visit -

#KTCHost - A Reliable Hosting Provider

Tutorials / How tos? / Load alert script
« on: May 11, 2017, 01:21:57 PM »
Get the process status report through e-mail for server load, you can try to add additional info to the code, to get more info through e-mail.

Simply create new file add following code in a /root/loadalert file and configure as per your requirement.

vi   /root/loadalert

Code: [Select]
    #Created on October 15th, 2015
    EMAIL="your email 1"
    # For multiple E-mails.
    EMAIL1="your email 2"
    SUBJECT="Alert $(hostname) load average is $L05"
    echo "Load average Crossed allowed limit." >> $TEMPFILE
    echo "Hostname: $(hostname)" >> $TEMPFILE
    echo "Local Date & Time : $(date)" >> $TEMPFILE
    echo "| Uptime status: |" >> $TEMPFILE
    echo "-------------------------------------------" >> $TEMPFILE
    /usr/bin/uptime >> $TEMPFILE
    echo "-------------------------------------------" >> $TEMPFILE
    echo "| Top 20 CPU consuming processes: |" >> $TEMPFILE
    ps aux | head -1 >> $TEMPFILE
    ps -auxf | sort -nr -k 3 | head -20 >> $TEMPFILE
    echo "| Top 10 memory-consuming processes: |" >> $TEMPFILE
    ps aux --no-headers| sort -rn +3 | head >> $TEMPFILE
    echo "-------------------------------------------" >> $TEMPFILE
    echo "| Memory and Swap status: |" >> $TEMPFILE
    /usr/bin/free -m >> $TEMPFILE
    echo "-------------------------------------------" >> $TEMPFILE
    echo "| Active network connection: |" >> $TEMPFILE
    echo "-------------------------------------------" >> $TEMPFILE
    /bin/netstat -tnup | grep ESTA >> $TEMPFILE
    echo "-------------------------------------------" >> $TEMPFILE
    echo "| Disk Space information: |" >> $TEMPFILE
    echo "-------------------------------------------" >> $TEMPFILE
    /bin/df -h >> $TEMPFILE
    echo "-----------------THE END-------------------" >> $TEMPFILE
    L05="$(uptime|awk '{print $(NF-2)}'|cut -d. -f1)"
    if test $L05 -gt 5
    mail -s "$SUBJECT  $L05" "$EMAIL" < $TEMPFILE
    # For multiple E-mails.
    #mail -s "$SUBJECT  $L05" "$EMAIL1" < $TEMPFILE
    rm -f $TEMPFILE

By default we recommend every minute cron to avoid any load alerts.

* * * * * /root/loadalert >/dev/null 2>&1

Let us know, if you required any further information.

KTCHost Announcements / Re: You're The Boss
« on: February 24, 2017, 04:10:59 PM »
Yes Dilip, you can make any kind of Web hosting request, therefore no need to hesitate to make your request. 

Let us know, if you have any further questions.

Dear Sneha,

Thank you for sharing all requested information, your account setup is completed and we have sent welcome E-mail to your registered E-mail address.

Please check it and let us know, if you have any problems.

KTCHost Announcements / Build your own customised HOSTING
« on: February 24, 2017, 09:23:12 AM »
We KTCHost very happy to announce new innovation in Web hosting industry. From today no need to waste time to search or post request for new Web hosting in forums, simply post your resources requirement, budget and we are ready to offer you special Web hosting plans as per your requirement, new Web hosting plan for every user.

Only Four steps and you will feel that you are the owner of web hosting.

1: Create New Account and Post your requirement
2: PM or E-mail requested information by our staff members on Forum.
3: Login into Billing portal and make a payment.
4: As soon as payment confirms, you will receive your new Web hosting account login details.

Let us know, if anybody having any questions.

Dear Sneha,

Thank you very much for your appreciation.

We have discussed your requirement with our Technical as well as Sales team and we are happy to provide you SATA Reseller hosting in 500 INR per month with all features  mentioned in thread. PM me following information, so we can place a new order and initiate the account setup.

1: Your Full Name
2: Address
3: Company Name (If you have any)
4: Official E-mail address
5: Phone Number

Pages: 1