most likely reason for your PHP installation, however,

most likely reason for your PHP installation, however, is the ability to create client-side scripts for websites. PHP makes it easy to integrate with virtually every database available, in our case MySQL. PHP also makes efficient use of POST and GET variables sent through Apache for easy integration and manipulation. This is handy for processing HTML forms for storage into a database or sending an e-mail, and so on. PHP Versions PHP currently has two versions available: PHP 4.3. x and PHP 5.0. For this book we will be using 5.0 because it introduces an abundance of optimizations and additional functionality not seen in 4.3. x . PHP 5.0 also introduces Zend Engine 2. The new Zend engine has been com- pletely rewritten to include an entirely new object model. The use of objects now includes a wide variety of new functionality not previously seen, such as private and protected methods, abstract classes and methods, interfaces, class type hints, object cloning, unified constructors, destructors, exceptions, and more. This alone, for the object-oriented coder, is more than enough reason to switch to PHP 5.0 from earlier versions. For the procedural developers out there or for those who have less experience with PHP, there are also a myriad of new functions and additions that apply to any coding methods and standards. The XML system has been completely overhauled and will now support SimpleXML and the DOM and Extensible Stylesheet Language (XSL) extensions. New php.ini options have also been added, stream support has been improved, the GD Graphics Library extension has been improved too many functions to list have been added, and countless bugs have been fixed. Overall it s a good idea to install PHP 5.0 over 4.3. x . If you would like a full list of all the changes that have been made, you can visit the PHP site for more information and look for the change log. We just wanted to give you some insight into why we chose 5.0 for this book. Installing PHP PHP is your final installation before your server is complete with its core functionality. Quite a few directives can be specified both during compilation and in its configuration files. This chapter will cover all of the more common options enabling PHP to run as needed. You will probably need to go back and recompile PHP later, when you discover that you, or someone else using your server, needs to add a new library for usage within a script. Do not worry, however after a couple of installations you ll have it down to a science.

Hint: If you are looking for very good and affordable webspace to host and run your tomcat hosting application check Virtualwebstudio tomcat web hosting provider

Comments are closed.