Simple Telegram echo Bot (Apache + PHP)

Install LAMP: sudo apt-get install lamp-server^ Setup site for your bot. Create new file “your_bot_name-ssl.conf” at “/etc/apache2/sites-available”. Example: <IfModule mod_ssl.c> <VirtualHost _default_:88> ServerName my_new_bot ServerAlias my_new_bot ServerAdmin my_new_bot@localhost.com DocumentRoot /var/www/my_new_bot … Continue Reading →