PHP 5.6: What’s new features

PHP 5.6 has been released and is one of very important release. It brings the new features and many improvements and few backward incompatibility also. Among the main features: Constant scalar expressions It is now possible to provide a scalar expression involving numeric and string literals and/or constants in contexts where PHP previously expected a … Continue reading PHP 5.6: What’s new features

Advertisements

How to Import/Export databases in MySQL from command-line

Recently i worked with MySQL import/export databases and i have found some useful commands below: Export: All databases into sql file using mysqldump tool Single database into sql file using mysqldump tool Single database table into sql file using mysqldump tool Import: Database from sql dump or Single database from the dump(if it contains multiple … Continue reading How to Import/Export databases in MySQL from command-line

Some useful PHP related links

An easy-to-read, quick reference for PHP best practices, accepted coding standards, and links to authoritative PHP tutorials around the Web http://www.phptherightway.com/ https://phpbestpractices.org/ ¬†PHP Framework Interop Group http://www.php-fig.org/ PHP Trends, libraries, and freameworks http://phptrends.com/ Sample code to understand several PHP design pattern https://github.com/domnikl/DesignPatternsPHP A curated list of amazingly awesome PHP libraries, resources and shiny things. https://github.com/ziadoz/awesome-phpContinue reading Some useful PHP related links

How To Set Up Apache Virtual Host on Ubuntu

Apache web server is the most common and popular in web arena. It has an awesome feature of customization and running websites using virtualhosts. In this article we will know how to setup virtualhost on apache on Ubuntu(14.04 currently i am using). We will setup "test.com" which will actually point to "/home/<username>/sites/test.com/index.html" Before we start … Continue reading How To Set Up Apache Virtual Host on Ubuntu