After lots of folk PHP5 has released [Zend OpCache] engine with core PHP5.5 and PHP internals will continue to develop PHP with this Zend OpCache in future releases of PHP. It’s great news for all the PHP lovers who used APC cache to boost their application performance. But keep in mind, APC is no more supported with PHP5.5 and may not be for future release also. So here you should love OpCache (original name: Zend OpCache) for tweaking your application …
Tag: PHP
mCrypt is one of the best and most popular Cryptography Extensions in PHP5. To install it with your PHP5 in your NGinx server for Ubuntu 14.04 please install it with following command sudo apt-get install php5-mcrypt and then restart your NGinx server with sudo service nginx restart. But sometimes it may fails to load your mCrypt extension with your PHP5. If you face those types of problem just execute the following command in your Ubuntu 14.04 command line and restart …
I searched about custom imap datasource for cakephp all over the internet. I got few things but those are for CakePHP 1.x version that is too old. That’s why I tweaked few things to make it work for CakePHP 2.x version. Here is my modified and upgraded custom IMAP datasource for your cakephp application. CakePHP IMAP Custom Datasource Custom datasource for CakePHP (2.x) to interact with your mail server with IMAP functionality. Go to GitHub repo where I put my …
It’s not so easy to write Test Cases for slim framework. But I tried by autoloading SlimEnvironment class by requiring applications global autoload script. And after that I just created a Slim mock environment to handle the test case environment. If you have any further idea about to please share with me. Thanks in advance!
Very interesting code snippet that is about to display colorful output with PHP-CLI