PHP Testing

Saturday, December 27th, 2008 admin

To test your PHP configuration create a file info.php inside your HTL directory. Enter the following code:

<?php

phpinfo();
?>

This code runs phpinfo() function which writes all information about your PHP. Go to http://localhost/info.php If everything is ok you will see a lot of information on your screen about all installed modules and addons of PHP etc.

Producivity of PHP

Zend Optimizer – is a free product which helps you to speed up the processing of php code. Although this product starts every time on php processing its start remains almost imperceptible. But i recommend to use code cache to tune up your PHP code.

PHP accelerator by IonCube is pretty good. But the best cache code is Zend Platform – paid version is extremely high in cost. But you may use Alternative PHP Cache which is free (http://pecl.php.net/package/APC). Those tools can speed up PHP code processing in twice.

 

Leave a Comment

You must be logged in to post a comment.

« | Home