Archive for the ‘Versions’ Category
PHP 5.3.0 RC2 Released
As the internet evolves and the many people who work hard to make it possible try to issue improvements into the already forever present PHP platform, the newest version of PHP 5.3.0, release candidate 2 has been released for evaluation and testing. The update is in efforts to address security vulnerabilities that have been found with the last release only a month or so ago and it is deemed as part of the continuing evolution of PHP into one of the best and most secure web platforms ever. Project managers are advised to download the latest version fro testing with current projects so compatibility issues can be addressed early. Read the rest of this entry »
PHP 5.2.9-2 Released
The latest release available for Windows users that is designed to address security flaws in the integrated OPEN SSL libraries with subsequent updates to the Open SSL library (0.9.8k) patching the security vulnerability left by the said windows flaw. The update addresses errors to the ASN1_string function that releases security information upon a call to print. another error that was addressed was with concern to the CMS_verify function which was unable to handle error conditions involving malformed signed attributes. Another issue with the ASN1 structure concerned memory issues that sometimes caused crashes with some installations.
The security holes have long been a problem which the open-sourced community have always managed to release security bulletins and updates to address these issues. The systems which uses the OpenSSL standard is invalidated when the said flaws were discovered making dangerous loophpoles for access by hackers. The update is recommended for all users of the older version of PHP to address and avoid such security issues.
PHP 5.2.8 is released!

PHP 5.2.7. is on its way out but 5.2.8. is on its way in!
Due to a security bug found in the PHP 5.2.7 release, it has been removed from distribution. The bug affects configurations where magic_quotes_gpc is enabled, because it remains off even when set to on. In the meantime, use PHP 5.2.6 until PHP 5.2.8 is later released.
The PHP Development Team would like to announce the immediate availability of PHP 5.2.8. This release addresses a regression introduced by 5.2.7 in regard to the magic_quotes functionality, which was broken by an incorrect fix to the filter extension. All users who have upgraded to 5.2.7 are encouraged to upgrade to this release. Alternatively you can apply a work-around for the bug by changing “filter.default_flags=0″ in php.ini.
Good thing the previous version was taken out then.
Your First PHP Codes

Image source: www.flickr.com
Why not exhibit some output onto the screen? It is in truth much easier to achieve with PHP. All you have to do is use PHP language construct called echo and we are done. Here’s how..
Open a blank new file in your editor or notepad and write the below talk about lines in the file. Then save the file with a .php extension. If you are using notepad as editor then be careful about the file extension. In Windows OS the file extensions are often hidden, so you must ensure that file saved has a .php extension.
If that is the exact output on your browser, then it is a success!!! We are on a good start. If you did not see this output, then perhaps PHP was not installed or configured properly. Note that if the PHP file is prompted to be downloaded in your browser, then PHP is not installed or configured properly as the file with .php extension is not being parsed. Please refer to your installation procedure.
Versions 4
Just so you’ll be aware of the different versions of PHP. This post features older versions:
Version 4.1.0 introduced the superglobal arrays. Because of this, there are scripts written in superglobals that will not run in versions prior to this particular version. If you’re using older versions of PHP, then you must use old style arrays such as the $HTTP_POST_VARS.
Version 4.2.0 is a little more complicated. This version of PHP changed the default setting for register_globals to Off. There are scripts developed under previous versions that depend on register_globals that are set to On. These particular scripts may stop running with the 4.2.0 setting. To solve this, change the coding of the scripts so that they can run with this version.
Important improvements were made to the CU version of PHP in Version 4.3.0. The CU is built automatically by default when the PHP is complied from source code. If one wishes for it not to be built, then it must be disabled with installation options.
Version 4.3.1 features a security fix to problems in 4.3.0.
More to come…
