i used this tut for installing on my openshift server but the but not working
whats is php version required and tools
i only setup php 5.4 and mysql
Minimum requirements are PHP 5.5.
I found a PHP 7 version for OpenShift here.
Regarding MySQL, it depends which features you would like to use.
Check the readme to learn more.
@noplanman thank you i will test it
another question : i used this method for my bot
git clone https://github.com/akalongman/php-telegram-bot.git
cd php-telegram-bot/
composer dump-autoload
and question is where i should place the hook.php
in php-telegram-bot folder ?
You can put the hook.php wherever you want, you just need to include the autoload.php from your vendor folder.
Preferably it would be outside (and above) the vendor folder.
thank you my problem solved by upgrading php version :+1: @noplanman
Most helpful comment
@noplanman thank you i will test it
another question : i used this method for my bot
git clone https://github.com/akalongman/php-telegram-bot.git
cd php-telegram-bot/
composer dump-autoload
and question is where i should place the hook.php
in php-telegram-bot folder ?