• How to setup PHP7.1, Apache 2.2 on Amazon Linux

    OK I had no plan to make this post but recently I spent quite a few time to figure it out so thought to make it as a post for self and others who come across issue to deal with this simply thing otherwise. Alright, let’s proceed! Below is the details of my Amazon Distro: [crayon-5c15f2ab7fdb6766993231/] Repo setting Before we proceed, first make sure that you are downloading stuff from the right repository. Remove all irrelevant repos, specially remi-safe. [crayon-5c15f2ab7fdbf238699368/] You can see list of available repos, if all goes well you should see something like below: [crayon-5c15f2ab7fdc3728219554/] Alright, we now have correct repo setup, it’s time to install things…

  • Mbstring not found error while installing mailparse PHP extension

    Today I had to install mailparse via PEAR. On installing I came across one of the errors: mbstring not found despite of it was right there. One of the simplest option to fix it is given below. Though I am working on MAMP but it will work with anyone since it’s part of PHP Source. Go to your PHP Source Library. In my case it is: [crayon-5c15f2ab807a0605311148/] and add following lines in mbfilter.h [crayon-5c15f2ab807a7130587152/] and then run PEAR command again [crayon-5c15f2ab807aa635064612/] If all goes well it should give something like: [crayon-5c15f2ab807ad825249070/] Manually add entry of the extension in your php.ini file and it should be available for work.

  • Develop your first Facebook messenger bot in PHP

    (Credit: Independent.co.uk) Facebook recently announced a Bot platform for it’s Messenger which provides businesses and individuals another way to communicate with people. What is a Chat bot? A computer program designed to simulate conversation with human users, especially over the Internet. Chat bot in PHP When I heard of it, my very first thought was to a bot in PHP. I started to find some SDK in this regard released by Facebook but none was present. I headed over to documentation which provided good information for starters. Ok! so without wasting further time, let’s build our first Bot Timebot In order to create an Fb bot you will need two things to…

  • LxD Series: Initial Laravel App design

    I am extremely sorry. It took me a while to make this post. I got totally engaged in other things that made me to stay away from this. I am making this post, as a filler to end inertia. ٰIn previous post I discussed how to install and configure Laravel. In this post I am sharing a few screens of the web app we are going to build.   First screen will be a dashboard which users will see after logging in. Second is showing list of project while the third is entry form. In next couple of posts I will be discussing MVC basics and how Laravel implemented them. As…