Php

PHP 7.0.8 released

PHP 7.0.8 recently released, is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world. PHP 7.0.8 Changelog Core: Fixed bug #72218 (If host name cannot be resolved then PHP 7 crashes). Fixed bug #72221 (segfault, past-the-end access). Fixed bug #72268 (Integer Overflow in nl2br()).

How to install PHP 5.5.36 & PHP 5.6.22 on Ubuntu 16.04

PHP 5.5.36 & PHP 5.6.22 both recently released, is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world. PHP 5.5.36 Changelog Core: Fixed bug #72114 (Integer underflow / arbitrary null write in fread/gzread). (CVE-2016-5096) Fixed bug #72135 (Integer Overflow in php_html_entities). (CVE-2016-5094) GD: Fixed bug #72227 (imagescale out-of-bounds read).

Install PhpStorm 2016.1.1 on Ubuntu Linux OS

PhpStorm 2016.1.1 recently released, is the first update in the series of releases planned for 2016, as indicated by the new version numbering. Along with new features, bugfixes and usability improvements, the long-awaited improvements in support of PHP language, and development tools was also addressed. PhpStorm 2016.1 Notable Highlights PHP Language & Editing Experience: A number of serious and long-awaited improvements have been made in the PHP language support , such as improved type inference, completion, support of traits, and more New Debugging Experience: Zero-Configuration Debugging mode now made easier to discover for new users.

phpMyAdmin 4.6.1 released

phpMyAdmin 4.6.1 released today, is a tool written in PHP intended to handle the administration of MySQL over the Web. Currently it can create and drop databases, create/drop/alter tables, delete/edit/add columns, execute any SQL statement, manage indexes on columns. phpMyAdmin 4.6.1 changelog PMA_Util not found in insert_edit.lib.php Fixed activation of some languages Fixed error in 3NF step of normalization Fix offering JSON datatype in incompatible MySQL versions Can not open table with JSON field Cannot highlight a column if I scroll down from the top of the table Fixed possible PHP error in SQL parser Fixed SQL quoting in SQL export Improve performance of database structure page Fix PHP error if user did unpack new version over old one Fix parsing of expression 0 Document setup with Google Cloud SQL Fix parsing of queries with double \ Fixed setting of language from user configuration Fixed check for ndb version Fixed loading of configuration file Check if sessions are working and report failures non-clickable initial letter for users / and can’t modify users with MySQL 5.

PHP 7.0.0 released with host of fixes

The PHP development team announces the immediate availability of PHP 7.0.0. This release marks the start of the new major PHP 7 series. PHP 7.0.0 which was released early this month, is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world. PHP 7.0.0 comes with a new version of the Zend Engine, numerous improvements and new features such as Improved performance: PHP 7 is up to twice as fast as PHP 5.

Smarty 3.1.28 released with support for PHP 7

Smarty 3.1.28 recently released, is a template engine for PHP, facilitating the separation of presentation (HTML/CSS) from application logic. This implies that PHP code is application logic, and is separated from the presentation. This release comes with a tone of bug fixes and new features, namely PHP 7 support and run-time inheritance compiling. Smarty 3.1.28 changelog bugfix {foreach} and {section} with uppercase characters in name attribute did not work bugfix $smarty-debugging_ctrl = ‘URL’ did not work bugfix Debug Console could display incorrect data when using subtemplates optimize filepath normalization rework of template inheritance speed and size optimizations bugfix under HHVM temporary cache file must only be created when caches template was updated fix compiled code for new {block} assign attribute update code generated by template function call handler size optimization move some runtime functions into extension optimize inline template processing optimization merge inheritance child and parent templates into one compiled template file load seldom used Smarty API methods dynamically to reduce memory footprint cache template object of {include} if same template is included several times convert debug console processing to object use output buffers for better performance and less memory usage optimize nocache hash processing remove not really needed properties optimize rendering move caching to Smarty::_cache remove properties with redundant content optimize Smarty::templateExists() optimize use_include_path processing relocate properties for size optimization remove redundant code See changelog for full list Download it here

Yii 2.0.6 PHP Framework released

Yii 2.0.6 recently released, is a high-performance PHP framework best for developing Web 2.0 applications. Yii comes with rich features: MVC, DAO/ActiveRecord, I18N/L10N, caching, authentication and role-based access control, scaffolding, testing, etc. It can reduce your development time significantly. Version 2.0.6 is a patch release of Yii 2.0 which contains over 70 minor new features and bug fixes as well as numerous improvements to documentation and great progress on guide translations.

Symfony 2.7.0 LTS – PHP Components released

Symfony 2.7.0 recently released, is a set of PHP Components, a Web Application framework, a Philosophy, and a Community — all working together in harmony. Symfony 2.7.0 comes with more than 100 new features and enhancements. Symfony has now early built-in support for PSR-7. And that works as of Symfony 2.3, without breaking backward compatibility. Symfony 2.7.0 changelog: Avoid using the app global variable in the profiler templates [REVERTED] [TwigBundle] Refresh twig paths when resources change CVE-2015-4050 [HttpKernel] Do not call the FragmentListener if controller is already defined [Serializer] AbstractNormalizer::instantiateObject allow default values when not optional [DebugBundle] Fix config XSD [Serializer] AbstractNormalizer instantiateObject avoid null rejection [Translation] fixed JSON loader on PHP 7 when file is empty [Form] Check instance of FormBuilderInterface instead of FormBuilder [Console] SymfonyStyle : fix blocks failed when $messages is null [TwigBridge] use proper class to fetch asset version strategy property [Security] AbstractRememberMeServices::encodeCookie() validates cookie parts [HttpKernel] Handle an array vary header in the http cache store [console][formater] allow format toString object [HttpFoundation] Fix baseUrl when script filename is contained in pathInfo [Security][Firewall] Avoid redirection to XHR URIs [DoctrineBridge][Form] Fix BC break in DoctrineType [Form] Fixed ChoiceType with legacy ChoiceList [Console] Fix first choice was invalid when using value [DomCrawler] Throw an exception if a form field path is incomplete Fix HTML escaping of to-source links Fix HTML escaping of to-source links [HttpFoundation] IpUtils::checkIp4() should allow /0 networks Fix the rendering of deprecation log messages Fixed the indentation in the compiled template for the DumpNode [TwigBundle] Refresh twig paths when resources change [ServerBag] Handled bearer authorization header in REDIRECT form [CSS] WebProfiler break words [WebProfilerBundle] Fix regexp [BridgeTwig] Adding a space between the icon and the error message [WebProfilerBundle] Fix compatiblity with HttpKernel < 2.

HHVM 3.6.0 Virtual Machine for HACK released

HHVM 3.6.0 recently released, is an open-source virtual machine designed for executing programs written inHack and PHP. HHVM 3.6 comes with lots of new goodies. In particular, many new Async features are now available by default including AsyncMySQL andMCRouter (memcache) support. Combined with existing support for asynchronous cURL, applications are now ready to deeply parallelize many common forms of costly data access. HHVM 3.6 changelog Release the async mysql extension Release an async MCRouter extension FastCGI largely re-written; should fix several rare crashes Make sure that C++ method signatures match the HNI Make the typechecker be as strict about XHP classes as other classes.

Adminer 4.2.0 – Database Management released

Adminer (formerly known as phpMinAdmin) is a full-featured database management tool written in PHP. Conversely to phpMyAdmin, it consist of a single file ready to deploy to the target server. Adminer is available for MySQL, PostgreSQL, SQLite, MS SQL,Oracle, SimpleDB, Elasticsearch and MongoDB. Adminer 4.2.0 changelog Fix XSS in login form (bug #436) Allow limiting number of displayed rows in SQL command Fix reading routine column collations Unlock session in alter database Make master key unreadable to others (bug #410) Fix edit by long non-utf8 string Specify encoding for PHP 5.

phpMyAdmin 4.3.8 released

phpMyAdmin is a tool written in PHP intended to handle the administration of MySQL over the Web. Currently it can create and drop databases, create/drop/alter tables, delete/edit/add columns, execute any SQL statement, manage indexes on columns. phpMyAdmin 4.3.8 changelog Undefined constant PMA_DRIZZLE Wrongly positioned date-picker while Grid-Editing Forced ORDER BY for own sql statements Undefined property: stdClass::$version ‘only_db’ not working Error text: Internal Server Error Incorrect width table summary when favorite tables is disabled Nav tree error after filtering the tables Collapse all in navigation panel is sometimes broken Cannot navigate in filtered table list Database navigation menu broken when resolution/screen is changing Collation column missing in database list when DisableIS is true bug Undefined index central_columnswork bug Undefined index favorite_tables Install phpMyAdmin 4.

PHP 5.6.5 / 5.5.21 released

PHP is a popular general-purpose scripting language that is especially suited to web development. Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world. The PHP Development Team has announced both immediate availability of PHP 5.6.5 & PHP 5.5.21. These new versions comes with lots of bug fixes. PHP 5.6.5 Changelog Upgraded crypt_blowfish to version 1.3. unlink() bug with some files path Inside trait, self::class !

Install Linux, Apache, MySQL, PHP (LAMP) in Ubuntu 14.04

LAMP is a group of open source software that is typically installed together to enable a server to host dynamic websites and web apps. This term is an acronym for Linux operating system, Apache web server, MySQL database, and PHP/Perl/Python. In this tutorial, I will show you the easiest way on how to successfully install LAMP on Ubuntu 14.04 using Tasksel tool. Tasksel is a Debian/Ubuntu tool that installs multiple related packages as a co-ordinated “task” onto your system.

Install NetBeans IDE 8.0 on Ubuntu 13.10, 14.04

NetBeans is a free and open source IDE (Integrated Development Environment) for developers. NetBeans allows users or developers to quickly build mobile and web applications using HTML, PHP, C and C++. The latest stable release of NetBeans – IDE 8.0, has been released with following features: Java 8 Code Analyzers Java 8 Code Editors Support for Java SE 8, Java SE Embedded 8 and Java ME Embedded 8 Enhanced Maven Support Enhanced Java EE 7 Support with PrimeFaces New Tools for HTML5 and AngularJS Improved PHP and C/C++ Support Step 1: Install Java SE Development Kit (JDK) 8 – NetBeans IDE requires Oracle JDK installed first.

Hack: Facebook new programming language

This may come as a surprise for those of us who may be thinking that Facebook is all about Social Networking but unfortunately Facebook is at it again. This time they have just released their own programming language code name “HACK“. Apparently this had been in-use at Facebook for well over a year now and its been released as an Open Source Program. [box type=”info” style=”rounded” icon=”info”]Facebook is trying to make it easier for its developers to write code quickly, so it has built a new programming language called Hack.

How to fetch data from XML file using php

I am sharing below PHP code to a project I was working on. This project was based on extracting data from an FTP server xml file and output the result on HTML using PHP code. The result will be outputted into a tabular form with column headings. XML File: Name file as “ftpxml.xml“ [code lang=”xml”] <?xml version=“1.0” encoding=“ISO-8859-15”?> [/code] PHP Code: [code lang=”php”] <?php // Loading the XML file