Happy New Year my friends. Hope you all had a wonderful year and you are confident to face 2020! This year I am taking couple of challenges unlike previous years where I made “NEW YEAR” resolutions. Keep me in your prayers so that I win those challenges. Currently I am developing a SaaS application where…
Category
LAMP
How To : Send email with PHP from localhost
Hello! Happy New Year! Hope you all are doing well. Last couple of months I have been thinking about mail sending option of PHP application from local development server. Generally I uploaded my script to online web server for send mail from PHP. Today I think that I need to configure my local server so…
How to : Replace underscore “_” with hyphen “-” in CodeIgniter
Hello there, Since last couple of days I am aware of on-site SEO. There I found that underscore in URL is not recommended rather hyphen is good for SEO. But in PHP class method hyphen is not allowed rather underscore is recommended. So when you make a method in controller class over CI its difficult…
Debug : xDebug with CodeIgniter over LAMP
Hello friends, How is going on? Hope everyone is fine. This days I am fascinated with PHP, but still I missed my VB6 and .NET experience as those have a built in debug system. And you know debugging is one of the best way to confirm about what is happening by your code. So I…
MySQL – Got a packet bigger than ‘max_allowed_packet’ bytes error fix
Hi friends, Today I tried to import one of my live news site database which have long blob data type to my localhost MySQL with phpMyAdmin and get this “Got a packet bigger than ‘max_allowed_packet’ bytes” for the first time in my life. I never get this kind of awkward message before. I googled this and…
Change apache document root (www folder) in Fedora
Hello everybody! Today I tried to install apache on Fedora 18. I need to change the root directory to ease me editing file and avoiding permission. It is quite different when I was configuring on ubuntu. Also I did this when I first using Fedora(Fedora 18 is my first fedora flavour), but being lazy I…
Enable php cURL in Ubuntu
When i used Windows enable cURL was little bit tricky, but its so simple in Linux. I am using Ubuntu 12.04 LTS now a days, and when i need cURL enable in my system I run the following command in my Terminal and restart Apache. sudo apt-get install php5-curl to restart apache, sudo service apache2…
Change Apache document root (www folder) in Ubuntu
In my development environment I feel comfortable to have my document root directory (www) in my home directory. It gives me much more flexibility for permission issues. To do so Open the /etc/apache2/sites-available/default file with administrative privileged and change the document root as /home/{user}/www, in my perspective it is /home/tapan/www 1. Open /etc/apache2/sites-available/default sudo gedit…
Creating Virtual Host on Apache/Ubuntu
This days i am running for Zend Framework. Also feels a nice love for Linux. So i am trying to coup up with zend. Here i need to create a virtual host in my local environment. Ubuntu is my only OS. As i am newbee of linux and this is my first virtual host configuration,…
Installing LAMP (Linux, Apache, MySQL and PHP) and phpMyAdmin On Linux Mint
Installing LAMP (Linux, Apache, MySQL and PHP) and phpMyAdmin On Linux Mint In this guide I will show you how to install a LAMP system. LAMP stands for Linux, Apache, MySQL, PHP. The guide is intended to help those who have very little knowlegde of using Linux. Install Apache To start off we will install Apache. 1. Open up…