PHP 7’s Performance Boosts :More Possible Optimizations

This entry is part 2 of 2 in the series PHP 7's Performance Boosts

This entry is part 2 of 2 in the series PHP 7’s Performance BoostsIn part 1 of the series by Andrew Caya, you learned how to harness PHP 7’s performance boosts using some of its key optimizations, including strict typing, immutable and packed arrays, and memory allocation. In part 2 of the series, you will … Read more

Harness PHP 7’s Performance Boosts: Part 1

This entry is part 1 of 2 in the series PHP 7's Performance Boosts

This entry is part 1 of 2 in the series PHP 7’s Performance BoostsLearn how to harness PHP 7’s performance boosts using some of its key optimizations in this two-part series by Andrew Caya, the creator of Linux for PHP, the lead developer of a popular Joomla extension, and a contributor to many open source … Read more

Fix Uncaught ReflectionException: Class log does not exist …/laravel/framework/…

I again got this error which left me no clue of what happened wrong and how can I fix it. PHP Fatal error: Uncaught ReflectionException: Class log does not exist in …/vendo/laravel/framework/src/Illuminate/Container/Container.php:741 I tried to find solution on google for a while and came to know that this don’t tell what acually went wrong. There … Read more

Configuring and using Laravel with MongoDB

This entry is part 1 of 1 in the series MongoDB

This entry is part 1 of 1 in the series MongoDBIn this article we will see how to use MongoDB with Laravel (PHP framework). So first we need to install MongoDB and Laravel. Laravel and MongoDB installation: We will install Laravel and MongoDB one by one and I assume that you have PHP already installed … Read more

Installing MongoDB driver for PHP on Ubuntu and other Linux distributions

Mongo is official MongoDB driver for PHP. Here is detail of this driver on php.net:  http://php.net/manual/en/mongo.manual.php . Mongo include MongoClient class which is required to connect MongoDB and required by several packages that bridge between MongoDB and PHP. MongoClient works on almost all of Operating Systems including Windows, Mac OS X, Unix, and Linux; little- and big-endian … Read more

Installing MongoDB driver for PHP on Windows

  MongoClient class is included in “Mongo” that is official MongoDB driver for PHP. MongoClient class is required to connect MongoDB and required by several packages that bridge between MongoDB and PHP. Here is detail of this driver on php.net:  http://php.net/manual/en/mongo.manual.php Mongo works on almost all of Operating Systems including Windows, Mac OS X, Unix, and Linux; … Read more

Installing Laravel on Windows

I wrote an article on Installing LAMP environment on ubuntu cloud instance that somebody found helpful and he requested me to write for Laravel installation and configuration for Windows development machine. So here is step by step guide. XAMPP: I assume you have XAMPP or equivalent installed and running. If not then download it from … Read more

Import larger SQL files into MySQL

Larger SQL files can be imported into MySQL using different ways. I am listing 3 common ways here. Using PHPMyAdmin by increasing upload_max_filesize: Most  commonly used tool for MySQL is PHPMyAdmin but problem is that PHP have upload file size limit so files larger than that can’t be uploaded but in PHP Configuration file (php.ini), … Read more