A long ago, I wrote about how to upgrade to 7.0. PHP 7.2 is released. Now, it’s the time again to upgrade to the new version. The latest version of PHP comes with a couple of changes Convert numeric keys in object/array casts Counting of non-countable objects Object typehint HashContext as Object Argon2 in password …
php
Upgrade to PHP 7
PHP 7 is released after 10 years of PHP 5 released. It’s a major release and it has a lot of improvements compares to PHP 6. Eventually, developer community did not accept PHP 6 that much. If you haven’t upgraded PHP environment, I would recommend upgrading its version as soon as possible to get better …
Write a View Helper in Laravel 5 with best practices
In my last blog post I talked about deploying Laravel 5 application in a shared hosting. Still I am working in the same project. This is pretty much a big project that I am working alone right now. Along with this project, I am also working long hours on upgrading my business, after I read …
Deploy your Laravel 5 App in shared hosting
Once again, I had to make my hand dirty. This time I had to deploy Laravel 5 application in a shared hosting. Laravel framework’s architecture is not designed to deploy in shared hosting. So, if you want to deploy in shared hosting of cource you will have to hack the framework. I will not recommend …
Weird Error: Fatal error: Class ‘CI_Controller’ not found in Codeigniter Framework
It’s a simply weird and misleading error message. I was working on a client project which was actually based on Codeigniter (CI) framework version 2.1.3. Somehow, I did a typo in DB setting located at config/database.php file. But, I got a very weird error message: Fatal error: Class ‘CI_Controller’ not found in /var/www/my/……./system/core/CodeIgniter.php on line 233 …
convertNumericType error in Zend Framework 2 with Doctrine MongoDB ODM
One stupid error kicked my ass for the last few days (Sorry for writing in this way). Recently I am working on a project with Zend Framework 2 and Doctrine MongoDB ODM. Platform Setting up killed five days only for the MongoDB driver’s bug. My platform based on Ubuntu 12.04, PHP 5.3 with Zend Framework …
LEMP On Fedora 17 with setting up virtual host
Courtesy: http://cdn.farinspace.net/assets/lemp.jpg Linux, Nginx, MySQL, PHP knows as “LEMP” server. Here, Nginx is very fast and lightweight web server which is designed to handle high traffic by using low resources. Though most time Nginx is used to serve static contents.. There are two parts of this tutorial. In 1st part , I will show how to configure …