Looks like PHP released version 5.4.0 yesterday which is a major leap forward in the 5.x series. The key features of PHP 5.4.0 include:
- New language syntax including Traits, shortened array syntax and more
- Improved performance and reduced memory consumption
- Support for multibyte languages now available in all builds of PHP at the flip of a runtime switch
- Built-in webserver in CLI mode to simplify development workflows and testing
- Cleaner code base thanks to the removal of multiple deprecated language features
and lots of other improvements and fixes. Some of the functions that were depreciated before are now removed such as:
Register Globals
Magic Quotes
Safe Mode
The default character set is now UTF-8 within the php.ini files.
http://php.net/releases/5_4_0.phpI think the main reason I am really excited for the stable release of PHP 5.4.0 is due to CPanel and and their support for the FastCGI Process Manager (FPM). They had encountered some issues with PHP 5.3 and were waiting for the fixes that the PHP team were going to have in version 5.4.x. I have a feeling CPanel will wait a little while for PHP 5.4.x to be out for awhile to fix some of the bugs, but I am really excited for this news.
With the FastCGI Process Manager (aka
PHP-FPM), it is an alternative to the PHP FastCGI implementation which allows PHP processes to share pools of memory under different UIDs. The way Ozzu's servers are setup now is that a different user who spawns a PHP process cannot share that memory pool with another process by another user. So in a shared hosting environment with many users each user has to have their own pool of memory which ends up eating quite a bit of resources on the server. With PHP-FPM I would be able to setup the server so that different UIDs could share the same memory pools which will vastly decrease the amount of memory needed and should be a huge win for the server.
So for me the release of PHP 5.4.0 is exciting as I am really looking forward to CPanel fully supporting PHP-FPM.
Anybody else have any thoughts on the release of PHP 5.4.0?
Ozzu Hosting - Want your website on a fast server like Ozzu?